fredsa / playn

Cross platform game library for N≥4 platforms
0 stars 1 forks source link

Error message when trying to Debug using Eclipse and Nexus 7 emulator #251

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Latest Android SDK installed
2. Using Eclipse Juno with Android bits & pieces installed
3. I try to debug the showcase
4. The project seemingly compiles well from command line and in Eclipse too.

What is the expected output? What do you see instead?
I expect the application running in the emulator
Instead I get in logcat:

05-31 16:59:49.050: E/AndroidRuntime(901): FATAL EXCEPTION: main
05-31 16:59:49.050: E/AndroidRuntime(901): Process: playn.showcase.android, 
PID: 901
05-31 16:59:49.050: E/AndroidRuntime(901): java.lang.RuntimeException: Unable 
to instantiate activity 
ComponentInfo{playn.showcase.android/playn.showcase.android.ShowcaseActivity}: 
java.lang.ClassNotFoundException: Didn't find class 
"playn.showcase.android.ShowcaseActivity" on path: DexPathList[[zip file 
"/data/app/playn.showcase.android-2.apk"],nativeLibraryDirectories=[/data/app-li
b/playn.showcase.android-2, /system/lib]]
05-31 16:59:49.050: E/AndroidRuntime(901):  at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2121)
05-31 16:59:49.050: E/AndroidRuntime(901):  at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
05-31 16:59:49.050: E/AndroidRuntime(901):  at 
android.app.ActivityThread.access$800(ActivityThread.java:135)
05-31 16:59:49.050: E/AndroidRuntime(901):  at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
05-31 16:59:49.050: E/AndroidRuntime(901):  at 
android.os.Handler.dispatchMessage(Handler.java:102)
05-31 16:59:49.050: E/AndroidRuntime(901):  at 
android.os.Looper.loop(Looper.java:136)
05-31 16:59:49.050: E/AndroidRuntime(901):  at 
android.app.ActivityThread.main(ActivityThread.java:5017)
05-31 16:59:49.050: E/AndroidRuntime(901):  at 
java.lang.reflect.Method.invokeNative(Native Method)
05-31 16:59:49.050: E/AndroidRuntime(901):  at 
java.lang.reflect.Method.invoke(Method.java:515)
05-31 16:59:49.050: E/AndroidRuntime(901):  at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
05-31 16:59:49.050: E/AndroidRuntime(901):  at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
05-31 16:59:49.050: E/AndroidRuntime(901):  at 
dalvik.system.NativeStart.main(Native Method)
05-31 16:59:49.050: E/AndroidRuntime(901): Caused by: 
java.lang.ClassNotFoundException: Didn't find class 
"playn.showcase.android.ShowcaseActivity" on path: DexPathList[[zip file 
"/data/app/playn.showcase.android-2.apk"],nativeLibraryDirectories=[/data/app-li
b/playn.showcase.android-2, /system/lib]]
05-31 16:59:49.050: E/AndroidRuntime(901):  at 
dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
05-31 16:59:49.050: E/AndroidRuntime(901):  at 
java.lang.ClassLoader.loadClass(ClassLoader.java:497)
05-31 16:59:49.050: E/AndroidRuntime(901):  at 
java.lang.ClassLoader.loadClass(ClassLoader.java:457)
05-31 16:59:49.050: E/AndroidRuntime(901):  at 
android.app.Instrumentation.newActivity(Instrumentation.java:1061)
05-31 16:59:49.050: E/AndroidRuntime(901):  at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2112)
05-31 16:59:49.050: E/AndroidRuntime(901):  ... 11 more

What version of the product are you using? On what operating system?
Latest Android SDK, Eclipse Juno with Android plugins, Ubuntu 14.04 64 bit

Please provide any additional information below.

Original issue reported on code.google.com by csaba.to...@gmail.com on 31 May 2014 at 9:13