I have been working on a project for the past few months with some colleagues, and as we finished our final android build some of us started to get the noclassdeffrounderror
in our LogCat
when we would run the app on our devices. The code did not change, and the class it is referencing the call from is on the same level, in the same package as the class that cannot be found. The project runs on other computers, and seems kind of random. I have tried everything to resolve this, but none have worked. If I compile the code on a different computer that can, and make an apk, it runs fine. But if compiled from a computer that has the error, it will always 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): at com.team.catswithhats.MainActivity.onCreate(MainActivity.java:14)
04-17 20:05:55.929: E/AndroidRuntime(12615): at android.app.Activity.performCreate(Activity.java:5104)
04-17 20:05:55.929: E/AndroidRuntime(12615): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
04-17 20:05:55.929: E/AndroidRuntime(12615): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
04-17 20:05:55.929: E/AndroidRuntime(12615): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
04-17 20:05:55.929: E/AndroidRuntime(12615): at android.app.ActivityThread.access$600(ActivityThread.java:141)
04-17 20:05:55.929: E/AndroidRuntime(12615): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
04-17 20:05:55.929: E/AndroidRuntime(12615): at android.os.Handler.dispatchMessage(Handler.java:99)
04-17 20:05:55.929: E/AndroidRuntime(12615): at android.os.Looper.loop(Looper.java:137)
04-17 20:05:55.929: E/AndroidRuntime(12615): at android.app.ActivityThread.main(ActivityThread.java:5041)
04-17 20:05:55.929: E/AndroidRuntime(12615): at java.lang.reflect.Method.invokeNative(Native Method)
04-17 20:05:55.929: E/AndroidRuntime(12615): at java.lang.reflect.Method.invoke(Method.java:511)
04-17 20:05:55.929: E/AndroidRuntime(12615): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
04-17 20:05:55.929: E/AndroidRuntime(12615): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
04-17 20:05:55.929: E/AndroidRuntime(12615): at dalvik.system.NativeStart.main(Native Method)