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. Transfer Preferences from demo to paid app

This comes up because I am changing the model for my freed and paid

Besides all the other things I need to figure out to build this (I'm
trying the library method), I'd like to transfer preferences smoothly
from DEMO app to paid App.  I'm sure that some of you are old hands at
this and can give some advice.

I've tried the DEMO and LICENSE, where a license app will unlock the
DEMO app and make it full.

The Market users can't handle that. My customers didn't want to have
two app icons once they installed the license. So I made it
invisible.  Now I have users that say they can't "open" the license
after purchase. It states very clearly in the app description that
they need to install the free version first, but I've discovered that
not everyone reads that vast 325 character description before buying
even some of the most expensive apps on the Market.

I've decided not to fight it. I do believe that customers will be more
happy overall and there will be less refunds, if they do try the demo
app first. It gives them 16 days to try instead of 24 hours to get a
refund. But I'm not going to force that.

So, I'll be going down the DEMO and FULL model route.

Just as an aside, I really wish the market would support time limited
trials. There is difference between real support and faking it as I
have been.


2. smooth scrolling

Hi guys,
I'm a new here.
Probably this question is answered. If it is, could you point me in
the right direction then.
I would like to add the smooth scrolling functionality into my
i.e. I have a huge text and I want to scroll it automatically (like in
book readers)
Could anyone offer any examples of smooth scrolling?



3. What are differences between onRetainNonConfigurationInstance() and onSaveInstanceState()

4. Runtime Exception in MediaRecorder.setAudioSource() method

5. What is an Adapter??

6. java.lang.IllegalArgumentException: View not attached to window manager

7. The future of PMEM