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
    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. Google analytics install referrer problem

I needed to track install information, so i used intent for google

I have put that intent into manifest as following:

<receiver android:name="com.mycompany.MyReceiver"
    <action android:name="" />

Inside MyReceiver class, i've implemented:

        public void onReceive(Context context, Intent intent) {
            String referrer =
            Log.d(TAG, referrer);

receiver = new;
            receiver.onReceive(context, intent);

Then i installed app using generated at
url, and got this in log:

WARN/googleanalytics(31532): Badly formatted referrer missing
campaign, name or source
WARN/googleanalytics(31532): Badly formatted referrer, ignored

So, instead of referral data that was given at url generation, i've
got data which looks like i was searching for my app at Market

Does anyone have this kind of trouble, or knows how to help?


2. You are invited to join Talk2Droid beta test

Hi, folks,
     We are pleased to introduce our new application - Talk2Droid,
which  allows you to remote access your Android phone right from Gmail
web page on your PC. While you are sitting in front a PC, it provides
you  a much more convenient way to do task like  reading incoming text
messages, sending text messages, checking missed calls, or looking up
phone address book, without bother to pull out your phone from your
     Search talk2droid in AndroidMarket and follow the on-screen
instructions to activate an account in less than 20 seconds. Have fun.



3. Linkify

4. Cannot Get to My Application in Market as a Developer

5. HTC Development Phone 1

6. Kernel Crash :

7. background and resize option