Issue 251 in playn: Error message when trying to Debug using Eclipse and Nexus 7 emulator

1 view
Skip to first unread message

pl...@googlecode.com

unread,
May 31, 2014, 5:13:37 PM5/31/14
to playn-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 251 by csaba.to...@gmail.com: Error message when trying to Debug
using Eclipse and Nexus 7 emulator
http://code.google.com/p/playn/issues/detail?id=251

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-lib/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-lib/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.


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages