java - Android: Unable to instantiate activity ComponentInfo -
i'm getting following error , don't no do. cleared projects 100 times, removed jars buildpath, deleted bin , gen.....but nothing worked me.
please find below error code:
09-03 19:43:17.326: e/trace(800): error opening trace file: no such file or directory (2) 09-03 19:43:17.546: d/androidruntime(800): shutting down vm 09-03 19:43:17.597: w/dalvikvm(800): threadid=1: thread exiting uncaught exception (group=0x40a71930) 09-03 19:43:17.629: e/androidruntime(800): fatal exception: main 09-03 19:43:17.629: e/androidruntime(800): java.lang.runtimeexception: unable instantiate activity componentinfo{com.example.firsttravel/com.example.firsttravel.mainactivity}: java.lang.classnotfoundexception: didn't find class "com.example.firsttravel.mainactivity" on path: /data/app/com.example.firsttravel-2.apk 09-03 19:43:17.629: e/androidruntime(800): @ android.app.activitythread.performlaunchactivity(activitythread.java:2106) 09-03 19:43:17.629: e/androidruntime(800): @ android.app.activitythread.handlelaunchactivity(activitythread.java:2230) 09-03 19:43:17.629: e/androidruntime(800): @ android.app.activitythread.access$600(activitythread.java:141) 09-03 19:43:17.629: e/androidruntime(800): @ android.app.activitythread$h.handlemessage(activitythread.java:1234) 09-03 19:43:17.629: e/androidruntime(800): @ android.os.handler.dispatchmessage(handler.java:99) 09-03 19:43:17.629: e/androidruntime(800): @ android.os.looper.loop(looper.java:137) 09-03 19:43:17.629: e/androidruntime(800): @ android.app.activitythread.main(activitythread.java:5041) 09-03 19:43:17.629: e/androidruntime(800): @ java.lang.reflect.method.invokenative(native method) 09-03 19:43:17.629: e/androidruntime(800): @ java.lang.reflect.method.invoke(method.java:511) 09-03 19:43:17.629: e/androidruntime(800): @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:793) 09-03 19:43:17.629: e/androidruntime(800): @ com.android.internal.os.zygoteinit.main(zygoteinit.java:560) 09-03 19:43:17.629: e/androidruntime(800): @ dalvik.system.nativestart.main(native method) 09-03 19:43:17.629: e/androidruntime(800): caused by: java.lang.classnotfoundexception: didn't find class "com.example.firsttravel.mainactivity" on path: /data/app/com.example.firsttravel-2.apk 09-03 19:43:17.629: e/androidruntime(800): @ dalvik.system.basedexclassloader.findclass(basedexclassloader.java:65) 09-03 19:43:17.629: e/androidruntime(800): @ java.lang.classloader.loadclass(classloader.java:501) 09-03 19:43:17.629: e/androidruntime(800): @ java.lang.classloader.loadclass(classloader.java:461) 09-03 19:43:17.629: e/androidruntime(800): @ android.app.instrumentation.newactivity(instrumentation.java:1054) 09-03 19:43:17.629: e/androidruntime(800): @ android.app.activitythread.performlaunchactivity(activitythread.java:2097) 09-03 19:43:17.629: e/androidruntime(800): ... 11 more 09-03 19:43:54.849: i/process(800): sending signal. pid: 800 sig: 9`
do guys have idea wrong?
thank much.
Comments
Post a Comment