It looks as though the problem with mmap() is that the filesystem doesn’t support making mmap()ed files writable which prevents Dalvik as currently implemented from optimizing its Dex file, which prevents it from starting. A workaround for this is to provide Dalvik with an optimized Dex file we prepared earlier. If you do then you get this
November 9, 2008
November 8, 2008
November 7, 2008
Dalvik Running Standalone On MacOSX
When the source for Google’s Dalvik Java VM became available as part of the Android open source release I thought I would see whether it was possible to build and run it standalone, i.e not as part of Android.
The answer is yes, and here’s a shot of it running in the debugger under Xcode on MacOSX to prove it
Unfortunately the canonical HelloWorld application on its own doesn’t make for particularly interesting viewing
With verbose logging on the output is certainly a lot more voluminous.
Here’s the debugger window scrolled to different positions to show all of it





