Can't open dex cache error with SDK 1.1

by loty » Thu, 05 Mar 2009 07:03:00 GMT

Sponsored Links
 Recently I switched to SDK 1.1 and it worked for a short time without
any problems. Now I'm getting "Can't open dex cache '/data/dalvik-
cache/system ..." error and emulator doesn't start at all. Just shows
Android screen of death with blinking cursor. When I repoint Eclipse
back to 1.0 r2 it works fine.

I did adb shell and /data folder is empty


Can't open dex cache error with SDK 1.1

by fadden » Thu, 05 Mar 2009 09:52:17 GMT


The /data/dalvik-cache directory is created by init when the system
boots.  From system/core/rootdir/init.rc:

    # create dalvik-cache and double-check the perms
    mkdir /data/dalvik-cache 0771 system system
    chown system system /data/dalvik-cache
    chmod 0771 /data/dalvik-cache

Does "mount" show that you have a filesystem mounted on /data, or is
it just an empty mount point?  I'm guessing the latter.


Sponsored Links

Other Threads

1. Approach to cache large amount of Textual and audio data in Android application



2. App Inventor

Has anyone used this? I know Google has taken it down until the
"official" launch in second half of 2010 (which is coming up, btw),
but was curious if anyone had used it or downloaded it before it was
removed from Google?


3. upgrade baseband droid malah jd erro

4. How to set the default download files location

5. how to create a new account type for using exsiting providers

6. Will data remain after updating android os in mobile phones

7. ics