Issue after adding a new jar's path to BOOTCLASSPATH in init.rc

by Tiger » Sat, 27 Feb 2010 01:32:34 GMT


Sponsored Links
 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
    I/dalvikvm(  823): Zip is good, but no classes.dex inside, and no
valid .odex file in the same directory
Does anyone encounter this issue?Sincerely appreciate your help.

-- 



Issue after adding a new jar's path to BOOTCLASSPATH in init.rc

by fadden » Sat, 27 Feb 2010 05:06:16 GMT


 



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.

-- 


Sponsored Links


Other Threads

1. TextView.setTextColor

hi guys,

i want to set the text color. color will differ according to the
scenario because of that can't set the text color in the xml file.

in android only few colors are available. if i want to set the colors
like Pink,Orange it does not support.
even if i set the int color code of those values it's not rendering.

so anyone can give me a way to achieve this??
i want to set the pro grammatically.

regards,
Ranidka

-- 

2. (WTA) Jam gmail gak cocok dan gak bisa preview attachment

Friends,

Kemarin abis upgrade spica ke samdroidmod terbaru, kok jam gmail jadi mundur
7 jam ya?
Terus sering banget gak bisa preview attachment jpeg, dibilang an sd card
required.. klo di clear data ntar bisa nongol, tp balik gitu lagi setelah
beberapa jam.
Ada yg bisa kasih pencerahan?

Best Regards,
David
*sent from my white spica

-- 
"Indonesian Android Community [id-android]" 

3. mounting and unmountind USB storage from Java App

4. Writing Android file system to internal NAND

5. UDP Broadcast Receiver, work on old Phone, but not on new

6. Official T-Shirt id-android siap di pesan

7. NeighboringCellInfo returns CID as -1