Slick Forums

Discuss the Slick 2D Library
It is currently Sat Feb 23, 2019 1:03 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Jul 04, 2012 2:56 pm 
Offline

Joined: Sun Jan 29, 2012 3:35 am
Posts: 17
Hi guys, my friend is working on setting up Slick AE, finished with Kenkron's tutorial but getting this error when trying to run
the sample game, Bounceanator, on his phone:
(tutorial: viewtopic.php?t=3496)

07-05 00:29:44.317: W/dalvikvm(21788): Unable to resolve superclass of Ltest/slick/bounceanate/BounceAnatorAndroid; (8)
07-05 00:29:44.317: W/dalvikvm(21788): Link of class 'Ltest/slick/bounceanate/BounceAnatorAndroid;' failed
07-05 00:29:44.317: D/AndroidRuntime(21788): Shutting down VM
07-05 00:29:44.317: W/dalvikvm(21788): threadid=3: thread exiting with uncaught exception (group=0x2aaca408)
07-05 00:29:44.317: E/AndroidRuntime(21788): Uncaught handler: thread main exiting due to uncaught exception
07-05 00:29:44.467: E/AndroidRuntime(21788): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{test.slick.bounceanate/test.slick.bounceanate.BounceAnatorAndroid}: java.lang.ClassNotFoundException: test.slick.bounceanate.BounceAnatorAndroid in loader dalvik.system.PathClassLoader@2e58caa0
07-05 00:29:44.467: E/AndroidRuntime(21788): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2451)
07-05 00:29:44.467: E/AndroidRuntime(21788): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2546)
07-05 00:29:44.467: E/AndroidRuntime(21788): at android.app.ActivityThread.access$2200(ActivityThread.java:120)
07-05 00:29:44.467: E/AndroidRuntime(21788): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1897)
07-05 00:29:44.467: E/AndroidRuntime(21788): at android.os.Handler.dispatchMessage(Handler.java:99)
07-05 00:29:44.467: E/AndroidRuntime(21788): at android.os.Looper.loop(Looper.java:123)
07-05 00:29:44.467: E/AndroidRuntime(21788): at android.app.ActivityThread.main(ActivityThread.java:4404)
07-05 00:29:44.467: E/AndroidRuntime(21788): at java.lang.reflect.Method.invokeNative(Native Method)
07-05 00:29:44.467: E/AndroidRuntime(21788): at java.lang.reflect.Method.invoke(Method.java:521)
07-05 00:29:44.467: E/AndroidRuntime(21788): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
07-05 00:29:44.467: E/AndroidRuntime(21788): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
07-05 00:29:44.467: E/AndroidRuntime(21788): at dalvik.system.NativeStart.main(Native Method)
07-05 00:29:44.467: E/AndroidRuntime(21788): Caused by: java.lang.ClassNotFoundException: test.slick.bounceanate.BounceAnatorAndroid in loader dalvik.system.PathClassLoader@2e58caa0
07-05 00:29:44.467: E/AndroidRuntime(21788): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
07-05 00:29:44.467: E/AndroidRuntime(21788): at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
07-05 00:29:44.467: E/AndroidRuntime(21788): at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
07-05 00:29:44.467: E/AndroidRuntime(21788): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
07-05 00:29:44.467: E/AndroidRuntime(21788): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2443)
07-05 00:29:44.467: E/AndroidRuntime(21788): ... 11 more

We're using Eclipse on a 64 bit machine with android 2.1
any ideas? we're still fumbling around so it might be something pretty basic
thanks a lot


Top
 Profile  
 
PostPosted: Wed Jul 04, 2012 11:09 pm 
Offline

Joined: Tue May 03, 2011 10:38 pm
Posts: 32
There's a couple reasons as to why this would come up. Off the top of my head right now is the bouncenator java project included in the build path for the android project? Under Order and Export is the java project checked off?


Top
 Profile  
 
PostPosted: Thu Jul 05, 2012 2:00 pm 
Offline

Joined: Sun Jan 29, 2012 3:35 am
Posts: 17
thanks, from that suggestion we got it working, as well as our own project


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group