On Feb 26, 8:58 am, Tiger <[email protected]> wrote: > After adding my audio.jar's path to BOOTCLASSPATH in init.rc, Zygote > got an error and crashed: > I/dalvikvm( 823): DexOpt: not all deps represented > E/dalvikvm( 823): /system/framework/audio.jar odex has stale > dependencies
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. -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
