[android-developers] ClassNotFoundException launching app
Hey, I'm having some weird crash reports from market. I have the full class name in my AndroidManifest.xml and we couldn't reproduce it on any of our phones. My application. We have around 100k users and I'm seeing this report approximately 9/week only. Any idea what's happening? java.lang.RuntimeException: Unable to instantiate application com.test.myApp: java.lang.ClassNotFoundException: com.test.myApp in loader dalvik.system.PathClassLoader[/mnt/asec/ com.hootsuite.droid.full-1/pkg.apk] at android.app.LoadedApk.makeApplication(LoadedApk.java:490) at android.app.ActivityThread.handleBindApplication(ActivityThread.java: 3715) at android.app.ActivityThread.access$2200(ActivityThread.java:132) at android.app.ActivityThread$H.handleMessage(ActivityThread.java: 1077) 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: com.hootsuite.droid.HootApp in loader dalvik.system.PathClassLoader[/ mnt/asec/com.hootsuite.droid.full-1/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.Instrumentation.newApplication(Instrumentation.java: 972) at android.app.LoadedApk.makeApplication(LoadedApk.java:481) http://schemas.android.com/apk/res/android"; package="com.test.full" android:versionCode="17400" android:versionName="1.7.4" android:installLocation="auto" > http://groups.google.com/group/android-developers?hl=en
[android-developers] ClassNotFoundException launching app
Hey, I'm getting some really weird crash reports from market. The crash happens right at luanching app but we have around 100k users, and this report occurs ~9/week only! As you can see following the stack trace I pasted my AndroidManifest file, i have the class name defined. Any idea? java.lang.RuntimeException: Unable to instantiate application com.dtran.droid.myApp: java.lang.ClassNotFoundException: com.dtran.droid.myApp in loader dalvik.system.PathClassLoader[/mnt/ asec/com.dtran.droid.full-1/pkg.apk] at android.app.LoadedApk.makeApplication(LoadedApk.java:490) at android.app.ActivityThread.handleBindApplication(ActivityThread.java: 3715) at android.app.ActivityThread.access$2200(ActivityThread.java:132) at android.app.ActivityThread$H.handleMessage(ActivityThread.java: 1077) 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: com.dtran.droid.myApp in loader dalvik.system.PathClassLoader[/mnt/asec/com.dtran.droid.full-1/ 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.Instrumentation.newApplication(Instrumentation.java: 972) at android.app.LoadedApk.makeApplication(LoadedApk.java:481) http://schemas.android.com/apk/res/android"; package="com.dtran.droid.full" android:versionCode="17400" android:versionName="1.7.4" android:installLocation="auto" > http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ClassNotFoundException launching app
com.hootsuite.droid.HootApp apparently is not being found. Since you do not appear to work for them, and since their app is not open source to the best of my knowledge, the question now is: why are you attempting to use com.hootsuite.droid.HootApp in *your* app? On Wed, Apr 18, 2012 at 8:32 PM, Bruce Xia wrote: > Hey, > I'm having some weird crash reports from market. > > I have the full class name in my AndroidManifest.xml and we couldn't > reproduce it on any of our phones. My application. We have around 100k > users and I'm seeing this report approximately 9/week only. > > Any idea what's happening? > > java.lang.RuntimeException: Unable to instantiate application > com.test.myApp: java.lang.ClassNotFoundException: com.test.myApp in > loader dalvik.system.PathClassLoader[/mnt/asec/ > com.hootsuite.droid.full-1/pkg.apk] > at android.app.LoadedApk.makeApplication(LoadedApk.java:490) > at > android.app.ActivityThread.handleBindApplication(ActivityThread.java: > 3715) > at android.app.ActivityThread.access$2200(ActivityThread.java:132) > at android.app.ActivityThread$H.handleMessage(ActivityThread.java: > 1077) > 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: > com.hootsuite.droid.HootApp in loader dalvik.system.PathClassLoader[/ > mnt/asec/com.hootsuite.droid.full-1/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.Instrumentation.newApplication(Instrumentation.java: > 972) > at android.app.LoadedApk.makeApplication(LoadedApk.java:481) > > > http://schemas.android.com/apk/res/android"; > package="com.test.full" > android:versionCode="17400" > android:versionName="1.7.4" > android:installLocation="auto" > > android:name="com.test.myApp" > android:debuggable="true" > android:icon="@drawable/icon_full" > . > > -- > 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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