Hi, I got several mails about my app crashing since the recent update. In the developer console, I see several stack traces with a ClassNotFoundException. Strange thing is, the class surely exists, and the error doesn't seem to happen on every device. At least the "developer edition" (i.e. debug signature, not signed for market) worked fine on mine, and I also got some mails with "everything's working fine, but <wish list>".
I tried to find some more information in this group, but my picks in threads with promising topic didn't quite help. Closest thing I found was a similar error when the SD card's removed without proper unmount, but I can't imagine this happens to so many people, especially not on devices where the "SD card" is in fact just internal memory. Any idea? Here's the trace: java.lang.RuntimeException: Unable to instantiate receiver <my receiver class>: java.lang.ClassNotFoundException: <my receiver class> in loader dalvik.system.PathClassLoader[/mnt/asec/<app package>/pkg.apk] at android.app.ActivityThread.handleReceiver(ActivityThread.java:1960) at android.app.ActivityThread.access$2400(ActivityThread.java:132) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1093) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:143) at android.app.ActivityThread.main(ActivityThread.java:4196) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.ClassNotFoundException: <my receiver class> in loader dalvik.system.PathClassLoader[/mnt/asec/<app package>/pkg.apk] at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240) at java.lang.ClassLoader.loadClass(ClassLoader.java:551) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at android.app.ActivityThread.handleReceiver(ActivityThread.java:1951) ... 10 more -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

