Dex cache issue

by nickname » Fri, 23 Apr 2010 08:05:15 GMT


Sponsored Links
 i all,
My application is crashing once in a while . Logcat logs are pasted
bellow.

04-11 02:26:37.225 1245 1245 W dalvikvm: Refusing to reopen boot DEX '/
system/framework/frameworks.jar'
04-11 02:26:37.334 1245 1245 E dalvikvm: Can't open dex cache '/data/
dalvik-cache/sys...@app@settings....@classes.dex': No such file or
directory
04-11 02:26:37.345 1245 1245 I dalvikvm: Unable to open or create
cache for /system/app/Settings.apk (/data/dalvik-cache/
sys...@app@settings....@classes.dex)
04-11 02:26:37.350 1245 1245 D AndroidRuntime: Shutting down VM
04-11 02:26:37.373 1245 1245 W dalvikvm: threadid=3: thread exiting
with uncaught exception (group=0x4001e600)
04-11 02:26:37.373 1245 1245 E AndroidRuntime: Uncaught handler:
thread main exiting due to uncaught exception
04-11 02:26:37.389 1245 1245 E AndroidRuntime:
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.android.setupwizard/
com.android.setupwizard.SetupWirelessActivity}:
java.lang.RuntimeException: Unable to instantiate activity
ComponentInfo{com.android.settings/
com.android.settings.wifi.WifiSettings}:
java.lang.ClassNotFoundException:
com.android.settings.wifi.WifiSettings in loader
dalvik.system.pathclassloa...@44f0d8d8
04-11 02:26:37.389 1245 1245 E AndroidRuntime: at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2550)
04-11 02:26:37.389 1245 1245 E AndroidRuntime: at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2566)
04-11 02:26:37.389 1245 1245 E AndroidRuntime: at
android.app.ActivityThread.access$2400(ActivityThread.java:121)
04-11 02:26:37.389 1245 1245 E AndroidRuntime: at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1917)
04-11 02:26:37.389 1245 1245 E AndroidRuntime: at
android.os.Handler.dispatchMessage(Handler.java:99)
04-11 02:26:37.389 1245 1245 E AndroidRuntime: at
android.os.Looper.loop(Looper.java:123)
04-11 02:26:37.389 1245 1245 E AndroidRuntime: at
android.app.ActivityThread.main(ActivityThread.java:4417)
04-11 02:26:37.389 1245 1245 E AndroidRuntime: at
java.lang.reflect.Method.invokeNative(Native Method)
04-11 02:26:37.389 1245 1245 E AndroidRuntime: at
java.lang.reflect.Method.invoke(Method.java:521)
04-11 02:26:37.389 1245 1245 E AndroidRuntime: at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:860)
04-11 02:26:37.389 1245 1245 E AndroidRuntime: at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
04-11 02:26:37.389 1245 1245 E AndroidRuntime: at
dalvik.system.NativeStart.main(Native Method)
04-11 02:26:37.389 1245 1245 E AndroidRuntime: Caused by:
java.lang.RuntimeException: Unable to instantiate activity
ComponentInfo{com.android.settings/
com.android.settings.wifi.WifiSettings}:
java.lang.ClassNotFoundException:
com.android.settings.wifi.WifiSettings in loader
dalvik.system.pathclassloa...@44f0d8d8
04-11 02:26:37.389 1245 1245 E AndroidRuntime: at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2471)
04-11 02:26:37.389 1245 1245 E AndroidRuntime: at
android.app.ActivityThread.startActivityNow(ActivityThread.java:2389)
04-11 02:26:37.389 1245 1245 E AndroidRuntime: at
android.app.LocalActivityManager.moveToState(LocalActivityManager.java:
127)
04-11 02:26:37.389 1245 1245 E AndroidRuntime: at
android.app.LocalActivityManager.startActivity(LocalActivityManager.java:
339)
04-11 02:26:37.389 1245 1245 E AndroidRuntime: at
com.an



Other Threads

1. XML and Java/Android

Hello there!

I'm new to the Java programming (see the other messages), I come from
PHP for handling XML files. I usually use SimpleXML, a very simple
class to manage this type of files. Here is an example:

$xml = new simplexml_load("http://mycoolsite.com/file.xml");
foreach($xml->contents as $entity => $value)
        echo "$entity: $value";

Ok, now tell me why I should handle XML files like THIS:
http://www.anddev.org/parsing_xml_from_the_net_-_using_the_saxparser-t353.html

Is there a simplier way to do it? Or is there any class like SimpleXML
ready for Java/Android?
I can't understand why there isn't a standard easy XML handler just
out for Android. I tried XML Pull Parser (
http://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html
), but I can't seem to fully understand the lines like "throws
XmlPullParserException, IOException" and why are them obligatory...

Thanks.
--~--~---------~--~----~------------~-------~--~----~

2. Notice: Build brea

Recently the upstream has merged donut into the master branch.
Unfortunately, it breaks our Android-x86 build. We are still trying to
figure out how to fix that. But the changes are so huge, we cannot fix
it very soon. In the meantime, you can get a stable branch by:

$ repo init -u git://git.tarot.com.tw/android-x86/platform/manifest.git
-b android-x86-v0.9
$ repo sync

I will drop another notice when we get the new tree ready.


Chih-Wei,
Android-x86
http://code.google.com/p/android-x86/
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. External payments

4. Developing on a G2.

5. how do detect HSPA network ?

6. Runnable Called many times

7. regarding notify playing sound & animation