Android app closes unfortunately -
i using eclipse libgdx framework... , set... when run android through emulator after launching when click on app icon gives me message "unfortunately app-name has stopped"... please tell me why happening... because same code works when run desktop java application through eclipse... please me out... thanks...
log cat details :
08-09 19:30:45.729: w/dalvikvm(747): unable resolve superclass of lcom/badlogic/drop/mainactivity; (20) 08-09 19:30:45.739: w/dalvikvm(747): link of class 'lcom/badlogic/drop/mainactivity;' failed 08-09 19:30:45.759: d/androidruntime(747): shutting down vm 08-09 19:30:45.759: w/dalvikvm(747): threadid=1: thread exiting uncaught exception (group=0x40a71930) 08-09 19:30:45.779: e/androidruntime(747): fatal exception: main 08-09 19:30:45.779: e/androidruntime(747): java.lang.runtimeexception: unable instantiate activity componentinfo{com.badlogic.drop/com.badlogic.drop.mainactivity}: java.lang.classnotfoundexception: didn't find class "com.badlogic.drop.mainactivity" on path: /data/app/com.badlogic.drop-2.apk 08-09 19:30:45.779: e/androidruntime(747): @ android.app.activitythread.performlaunchactivity(activitythread.java:2106) 08-09 19:30:45.779: e/androidruntime(747): @ android.app.activitythread.handlelaunchactivity(activitythread.java:2230) 08-09 19:30:45.779: e/androidruntime(747): @ android.app.activitythread.access$600(activitythread.java:141) 08-09 19:30:45.779: e/androidruntime(747): @ android.app.activitythread$h.handlemessage(activitythread.java:1234) 08-09 19:30:45.779: e/androidruntime(747): @ android.os.handler.dispatchmessage(handler.java:99) 08-09 19:30:45.779: e/androidruntime(747): @ android.os.looper.loop(looper.java:137) 08-09 19:30:45.779: e/androidruntime(747): @ android.app.activitythread.main(activitythread.java:5041) 08-09 19:30:45.779: e/androidruntime(747): @ java.lang.reflect.method.invokenative(native method) 08-09 19:30:45.779: e/androidruntime(747): @ java.lang.reflect.method.invoke(method.java:511) 08-09 19:30:45.779: e/androidruntime(747): @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:793) 08-09 19:30:45.779: e/androidruntime(747): @ com.android.internal.os.zygoteinit.main(zygoteinit.java:560) 08-09 19:30:45.779: e/androidruntime(747): @ dalvik.system.nativestart.main(native method) 08-09 19:30:45.779: e/androidruntime(747): caused by: java.lang.classnotfoundexception: didn't find class "com.badlogic.drop.mainactivity" on path: /data/app/com.badlogic.drop-2.apk 08-09 19:30:45.779: e/androidruntime(747): @ dalvik.system.basedexclassloader.findclass(basedexclassloader.java:65) 08-09 19:30:45.779: e/androidruntime(747): @ java.lang.classloader.loadclass(classloader.java:501) 08-09 19:30:45.779: e/androidruntime(747): @ java.lang.classloader.loadclass(classloader.java:461) 08-09 19:30:45.779: e/androidruntime(747): @ android.app.instrumentation.newactivity(instrumentation.java:1054) 08-09 19:30:45.779: e/androidruntime(747): @ android.app.activitythread.performlaunchactivity(activitythread.java:2097) 08-09 19:30:45.779: e/androidruntime(747): ... 11 more 08-09 19:35:53.845: i/process(747): sending signal. pid: 747 sig: 9 08-09 19:37:20.125: e/trace(958): error opening trace file: no such file or directory (2) 08-09 19:37:20.225: w/dalvikvm(958): unable resolve superclass of lcom/badlogic/drop/mainactivity; (20) 08-09 19:37:20.255: w/dalvikvm(958): link of class 'lcom/badlogic/drop/mainactivity;' failed 08-09 19:37:20.265: d/androidruntime(958): shutting down vm 08-09 19:37:20.265: w/dalvikvm(958): threadid=1: thread exiting uncaught exception (group=0x40a71930) 08-09 19:37:20.306: e/androidruntime(958): fatal exception: main 08-09 19:37:20.306: e/androidruntime(958): java.lang.runtimeexception: unable instantiate activity componentinfo{com.badlogic.drop/com.badlogic.drop.mainactivity}: java.lang.classnotfoundexception: didn't find class "com.badlogic.drop.mainactivity" on path: /data/app/com.badlogic.drop-2.apk 08-09 19:37:20.306: e/androidruntime(958): @ android.app.activitythread.performlaunchactivity(activitythread.java:2106) 08-09 19:37:20.306: e/androidruntime(958): @ android.app.activitythread.handlelaunchactivity(activitythread.java:2230) 08-09 19:37:20.306: e/androidruntime(958): @ android.app.activitythread.access$600(activitythread.java:141) 08-09 19:37:20.306: e/androidruntime(958): @ android.app.activitythread$h.handlemessage(activitythread.java:1234) 08-09 19:37:20.306: e/androidruntime(958): @ android.os.handler.dispatchmessage(handler.java:99) 08-09 19:37:20.306: e/androidruntime(958): @ android.os.looper.loop(looper.java:137) 08-09 19:37:20.306: e/androidruntime(958): @ android.app.activitythread.main(activitythread.java:5041) 08-09 19:37:20.306: e/androidruntime(958): @ java.lang.reflect.method.invokenative(native method) 08-09 19:37:20.306: e/androidruntime(958): @ java.lang.reflect.method.invoke(method.java:511) 08-09 19:37:20.306: e/androidruntime(958): @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:793) 08-09 19:37:20.306: e/androidruntime(958): @ com.android.internal.os.zygoteinit.main(zygoteinit.java:560) 08-09 19:37:20.306: e/androidruntime(958): @ dalvik.system.nativestart.main(native method) 08-09 19:37:20.306: e/androidruntime(958): caused by: java.lang.classnotfoundexception: didn't find class "com.badlogic.drop.mainactivity" on path: /data/app/com.badlogic.drop-2.apk 08-09 19:37:20.306: e/androidruntime(958): @ dalvik.system.basedexclassloader.findclass(basedexclassloader.java:65) 08-09 19:37:20.306: e/androidruntime(958): @ java.lang.classloader.loadclass(classloader.java:501) 08-09 19:37:20.306: e/androidruntime(958): @ java.lang.classloader.loadclass(classloader.java:461) 08-09 19:37:20.306: e/androidruntime(958): @ android.app.instrumentation.newactivity(instrumentation.java:1054) 08-09 19:37:20.306: e/androidruntime(958): @ android.app.activitythread.performlaunchactivity(activitythread.java:2097) 08-09 19:37:20.306: e/androidruntime(958): ... 11 more 08-09 19:37:24.495: i/process(958): sending signal. pid: 958 sig: 9
it seems renamed mainactivity class , didn't update android manifest.
Comments
Post a Comment