java - NoClassDefFoundError in Android project -
i have been working on project past few months colleagues, , finished our final android build of started noclassdeffrounderror
in our logcat
when run app on our devices. code did not change, , class referencing call on same level, in same package class cannot found. project runs on other computers, , seems kind of random. have tried resolve this, none have worked. if compile code on different computer can, , make apk, runs fine. if compiled computer has error, crash. help!
04-17 20:05:55.929: e/androidruntime(12615): fatal exception: main 04-17 20:05:55.929: e/androidruntime(12615): java.lang.noclassdeffounderror: com.team.catswithhats.androidgps 04-17 20:05:55.929: e/androidruntime(12615): @ com.team.catswithhats.mainactivity.oncreate(mainactivity.java:14) 04-17 20:05:55.929: e/androidruntime(12615): @ android.app.activity.performcreate(activity.java:5104) 04-17 20:05:55.929: e/androidruntime(12615): @ android.app.instrumentation.callactivityoncreate(instrumentation.java:1080) 04-17 20:05:55.929: e/androidruntime(12615): @ android.app.activitythread.performlaunchactivity(activitythread.java:2144) 04-17 20:05:55.929: e/androidruntime(12615): @ android.app.activitythread.handlelaunchactivity(activitythread.java:2230) 04-17 20:05:55.929: e/androidruntime(12615): @ android.app.activitythread.access$600(activitythread.java:141) 04-17 20:05:55.929: e/androidruntime(12615): @ android.app.activitythread$h.handlemessage(activitythread.java:1234) 04-17 20:05:55.929: e/androidruntime(12615): @ android.os.handler.dispatchmessage(handler.java:99) 04-17 20:05:55.929: e/androidruntime(12615): @ android.os.looper.loop(looper.java:137) 04-17 20:05:55.929: e/androidruntime(12615): @ android.app.activitythread.main(activitythread.java:5041) 04-17 20:05:55.929: e/androidruntime(12615): @ java.lang.reflect.method.invokenative(native method) 04-17 20:05:55.929: e/androidruntime(12615): @ java.lang.reflect.method.invoke(method.java:511) 04-17 20:05:55.929: e/androidruntime(12615): @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:793) 04-17 20:05:55.929: e/androidruntime(12615): @ com.android.internal.os.zygoteinit.main(zygoteinit.java:560) 04-17 20:05:55.929: e/androidruntime(12615): @ dalvik.system.nativestart.main(native method)
this happens when class found in eclipse building correctly, not @ runtime.
right click android project -> properties -> java build path -> order , export , check core project , jars.
Comments
Post a Comment