关于DexOpt: not all deps represented

I/dalvikvm(  823): DexOpt: not all deps represented 
    E/dalvikvm(  823): /system/framework/android.test.runner.jar odex has stale 
dependencies 

在http://groups.google.com/group/android-porting/browse_thread/thread/8e026aad9f6e197b看到的解答:

The optimized DEX files have inter-file dependencies.  All .odex files 

depend on the bootstrap class entries, so if you add or remove entries 
from the bootclasspath you must re-run dexopt over all files. 

This happens automatically on -userdebug and -eng developer builds, 
but -user builds don't have the un-optimized versions of the APKs 
sitting around.  So it just falls over. 

The best plan is to leave bootclasspath alone. 

See also dalvik/docs/dexopt.html in the source tree. 

你可能感兴趣的:(Class)