Android Libgdx application, failed resolving AndroidApplication -


i'm stuck on android project using libgdx.
desktop project works perfectly.
android project contains libs folder containing armeabi , armeabi-v7a , android gdx backends. activity declared in manifest

i'm used using these tools. used work , sudden facing persistent error (after project fixing, cleaning, restarting, redownloading libs, trying different api, sdk levels, jdk...).

here log of error

06-05 03:28:38.953: i/dalvikvm(5312): failed resolving     lcom/badlogic/gdx/backends/android/androidapplication; interface 73 'lcom/badlogic/gdx/application;' 06-05 03:28:38.963: w/dalvikvm(5312): link of class 'lcom/badlogic/gdx/backends/android/androidapplication;' failed 06-05 03:28:38.963: w/dalvikvm(5312): unable resolve superclass of lcom/me/example/example_rlactivity; (94) 06-05 03:28:38.963: w/dalvikvm(5312): link of class 'lcom/me/example/example_rlactivity;' failed 06-05 03:28:38.963: d/androidruntime(5312): shutting down vm 06-05 03:28:38.963: w/dalvikvm(5312): threadid=1: thread exiting uncaught exception (group=0x409fb338) 06-05 03:28:38.963: e/androidruntime(5312): fatal exception: main 06-05 03:28:38.963: e/androidruntime(5312): java.lang.runtimeexception: unable instantiate activity componentinfo{com.me.example/com.me.example.example_rlactivity}: java.lang.classnotfoundexception: com.me.example.example_rlactivity 06-05 03:28:38.963: e/androidruntime(5312):     @ android.app.activitythread.performlaunchactivity(activitythread.java:1880) 06-05 03:28:38.963: e/androidruntime(5312):     @ android.app.activitythread.handlelaunchactivity(activitythread.java:1981) 06-05 03:28:38.963: e/androidruntime(5312):     @ android.app.activitythread.access$600(activitythread.java:123) 06-05 03:28:38.963: e/androidruntime(5312):     @ android.app.activitythread$h.handlemessage(activitythread.java:1147) 06-05 03:28:38.963: e/androidruntime(5312):     @ android.os.handler.dispatchmessage(handler.java:99) 06-05 03:28:38.963: e/androidruntime(5312):     @ android.os.looper.loop(looper.java:137) 06-05 03:28:38.963: e/androidruntime(5312):     @ android.app.activitythread.main(activitythread.java:4424) 06-05 03:28:38.963: e/androidruntime(5312):     @ java.lang.reflect.method.invokenative(native method) 06-05 03:28:38.963: e/androidruntime(5312):     @ java.lang.reflect.method.invoke(method.java:511) 06-05 03:28:38.963: e/androidruntime(5312):     @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:787) 06-05 03:28:38.963: e/androidruntime(5312):     @ com.android.internal.os.zygoteinit.main(zygoteinit.java:554) 06-05 03:28:38.963: e/androidruntime(5312):     @ dalvik.system.nativestart.main(native method) 06-05 03:28:38.963: e/androidruntime(5312): caused by: java.lang.classnotfoundexception: com.me.example.example_rlactivity 06-05 03:28:38.963: e/androidruntime(5312):     @ dalvik.system.basedexclassloader.findclass(basedexclassloader.java:61) 06-05 03:28:38.963: e/androidruntime(5312):     @ java.lang.classloader.loadclass(classloader.java:501) 06-05 03:28:38.963: e/androidruntime(5312):     @ java.lang.classloader.loadclass(classloader.java:461) 06-05 03:28:38.963: e/androidruntime(5312):     @ android.app.instrumentation.newactivity(instrumentation.java:1023) 06-05 03:28:38.963: e/androidruntime(5312):     @ android.app.activitythread.performlaunchactivity(activitythread.java:1871) 06-05 03:28:38.963: e/androidruntime(5312):     ... 11 more 

i hope of might have faced problem , solved it! in advance help

sounds android r17 upgrade bug. see badlogic blog work-around: http://www.badlogicgames.com/wordpress/?p=2362

basically, need explicitly tag libgdx jar files "exported" jars android project.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -