Thursday, August 14, 2014

dalvikvm: DexOpt: source file mod time mismatch

Today, When I was running my app, I started to see this error

dalvikvm: DexOpt: source file mod time mismatch
dalvikvm: Cached DEX 'aaaa.zip' (/data/dalvik-cache/aaaa.zip@classes.dex) is stale and not writable
After Googling this error I could not found anything useful. Then I took a look at the /data/dalvik-cache/. There was a aaaa.zip@classes.dex already in this folder even the application was not installed. So I removed the existing file and did a new installation. all worked fine. 

I have not seen this error in previous versions of Android (below 4.4.2) . If you are going to launch a new pre-compiled zip make sure to remove previously cached files in /data/dalvik-cache/


No comments:

Post a Comment