eclipse - What does this Android Runtime logCat error mean? -
i'm new android programming , eclipse. have hard time undersanding logcat
errors mean , prepare them. i'm used visual studios tells me error located at. of classes shows me arent classes have created, built in ones i'm confused..
logcat:
06-26 09:03:56.201: e/androidruntime(3428): fatal exception: main 06-26 09:03:56.201: e/androidruntime(3428): java.lang.runtimeexception: unable instantiate activity componentinfo{com.example.basicscanner/com.example.basicscanner.mainactivity}: java.lang.classnotfoundexception: com.example.basicscanner.mainactivity in loader dalvik.system.pathclassloader[/data/app/com.example.basicscanner-1.apk] 06-26 09:03:56.201: e/androidruntime(3428): @ android.app.activitythread.performlaunchactivity(activitythread.java:1569) 06-26 09:03:56.201: e/androidruntime(3428): @ android.app.activitythread.handlelaunchactivity(activitythread.java:1663) 06-26 09:03:56.201: e/androidruntime(3428): @ android.app.activitythread.access$1500(activitythread.java:117) 06-26 09:03:56.201: e/androidruntime(3428): @ android.app.activitythread$h.handlemessage(activitythread.java:931) 06-26 09:03:56.201: e/androidruntime(3428): @ android.os.handler.dispatchmessage(handler.java:99) 06-26 09:03:56.201: e/androidruntime(3428): @ android.os.looper.loop(looper.java:130) 06-26 09:03:56.201: e/androidruntime(3428): @ android.app.activitythread.main(activitythread.java:3683) 06-26 09:03:56.201: e/androidruntime(3428): @ java.lang.reflect.method.invokenative(native method) 06-26 09:03:56.201: e/androidruntime(3428): @ java.lang.reflect.method.invoke(method.java:507) 06-26 09:03:56.201: e/androidruntime(3428): @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:839) 06-26 09:03:56.201: e/androidruntime(3428): @ com.android.internal.os.zygoteinit.main(zygoteinit.java:597) 06-26 09:03:56.201: e/androidruntime(3428): @ dalvik.system.nativestart.main(native method) 06-26 09:03:56.201: e/androidruntime(3428): caused by: java.lang.classnotfoundexception: com.example.basicscanner.mainactivity in loader dalvik.system.pathclassloader[/data/app/com.example.basicscanner-1.apk] 06-26 09:03:56.201: e/androidruntime(3428): @ dalvik.system.pathclassloader.findclass(pathclassloader.java:240) 06-26 09:03:56.201: e/androidruntime(3428): @ java.lang.classloader.loadclass(classloader.java:551) 06-26 09:03:56.201: e/androidruntime(3428): @ java.lang.classloader.loadclass(classloader.java:511) 06-26 09:03:56.201: e/androidruntime(3428): @ android.app.instrumentation.newactivity(instrumentation.java:1021) 06-26 09:03:56.201: e/androidruntime(3428): @ android.app.activitythread.performlaunchactivity(activitythread.java:1561)
it means compiler not able find class, maybe because haven't defined in android manifest or maybe path class not right;)
android eclipse debugging android-logcat
No comments:
Post a Comment