Re: [android-developers] ClassNotFoundException crash reports from Market
The user messages are not really helpful sadly :( closed fails to install properly on my Droid Motorola (tested it on a Droid myself - tried Android 2.1 and 2.2 and it worked just fine) wont let me open etc.. On Tue, Sep 7, 2010 at 6:04 AM, TreKing treking...@gmail.com wrote: On Mon, Sep 6, 2010 at 6:28 AM, Tauno Talimaa tau...@gmail.com wrote: I'm seeing some strange crash reports in Android Market and I can't really tell how this could be caused by our application. I have a single report of java.lang.VerifyError for one of the Activities in my app that's declared in the manifest. I also have one that failed to find the GeoPoint class that's in the Google Maps library. Seems like some crazy sh*t happens on user devices. Do you have any reasonable user messages? Does it say what platform and and Android version? (Mine's just Other, so useful!) - TreKing - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ClassNotFoundException crash reports from Market
On Tue, Sep 7, 2010 at 2:55 AM, Tauno Talimaa tau...@gmail.com wrote: The user messages are not really helpful sadly :( Yeah, I hear you, pretty hard to get useful information from users without being able to ask them questions. On Tue, Sep 7, 2010 at 4:36 AM, Pent tas...@dinglisch.net wrote: A knowledgable user informed me that some ROMs just use a stub for the maps package, there isn't actually a library there. I did have a comment for that that said FC on Froyo ROM, so that makes more sense. On Tue, Sep 7, 2010 at 5:28 AM, Tauno Talimaa tau...@gmail.com wrote: yeah, that sounds reasonable for GeoPoint - but in my case I'm not using the MapsAPIs at all - Android just can't find my Application class for some reason :/ Yeah, that's weird. You may just have to wait until someone decides to email you about it. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] ClassNotFoundException crash reports from Market
Hi all, I'm seeing some strange crash reports in Android Market and I can't really tell how this could be caused by our application. The reason is always ClassNotFoundException or NoClassDefFoundError. The exact traces come in various flavors and they have happened for a total of ~100 times - here's one (reported 37 times): java.lang.RuntimeException: Unable to instantiate application com.company.product.MyApplication: java.lang.ClassNotFoundException: com.company.product.MyApplication in loader dalvik.system.PathClassLoader[/data/app-private/com.company.product-1.apk] at android.app.ActivityThread$PackageInfo.makeApplication(ActivityThread.java:649) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4232) at android.app.ActivityThread.access$3000(ActivityThread.java:125) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2071) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:4627) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.ClassNotFoundException: com.company.product.MyApplication in loader dalvik.system.PathClassLoader[/data/app-private/com.company.product-1.apk] at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243) at java.lang.ClassLoader.loadClass(ClassLoader.java:573) at java.lang.ClassLoader.loadClass(ClassLoader.java:532) at android.app.Instrumentation.newApplication(Instrumentation.java:942) at android.app.ActivityThread$PackageInfo.makeApplication(ActivityThread.java:644) ... 11 more We've tested the same .apk on a number of devices and we've never encountered issues like this - what could cause such issues in the first place - custom ROMs / broken devices / something that we're doing wrong? :/ Tauno -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ClassNotFoundException crash reports from Market
On 6 September 2010 13:28, Tauno Talimaa tau...@gmail.com wrote: Hi all, I'm seeing some strange crash reports in Android Market and I can't really tell how this could be caused by our application. The reason is always ClassNotFoundException or NoClassDefFoundError. The exact traces come in various flavors and they have happened for a total of ~100 times - here's one (reported 37 times): What your app do? Is it calling any other application for example? If so, ensure you do try/catch around startActivity() - users' device may not have it at all. java.lang.RuntimeException: Unable to instantiate application com.company.product.MyApplication: java.lang.ClassNotFoundException: ^ you shouldn't name your classes that way unless you really own company.com domain -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ClassNotFoundException crash reports from Market
What your app do? Is it calling any other application for example? If so, ensure you do try/catch around startActivity() - users' device may not have it at all. No, I don't start any external activities. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ClassNotFoundException crash reports from Market
On Mon, Sep 6, 2010 at 6:28 AM, Tauno Talimaa tau...@gmail.com wrote: I'm seeing some strange crash reports in Android Market and I can't really tell how this could be caused by our application. I have a single report of java.lang.VerifyError for one of the Activities in my app that's declared in the manifest. I also have one that failed to find the GeoPoint class that's in the Google Maps library. Seems like some crazy sh*t happens on user devices. Do you have any reasonable user messages? Does it say what platform and and Android version? (Mine's just Other, so useful!) - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en