Hello everyone, My game is working perfectly on iOS. Now, I'm trying to run it on Android, but it has been complicated. I'm always getting these errors. Can someone help me out with that? java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/util/ArrayMap; at com.google.android.gms.common.api.GoogleApiClient$Builder.<init>(Unknown Source) at com.secrethq.utils.PTServicesBridge.initBridge(PTServicesBridge.java:74) at com.mycompany.game.PTPlayer.onCreate(PTPlayer.java:50) at android.app.Activity.performCreate(Activity.java:6237) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) at android.app.ActivityThread.-wrap11(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.util.ArrayMap" on path: DexPathList[[zip file "/data/app/com.mycompany.game-2/base.apk"],nativeLibraryDirectories=[/data/app/com.mycompany.game-2/lib/x86, /data/app/com.mycompany.game-2/base.apk!/lib/x86, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at com.google.android.gms.common.api.GoogleApiClient$Builder.<init>(Unknown Source) at com.secrethq.utils.PTServicesBridge.initBridge(PTServicesBridge.java:74) at com.mycompany.game.PTPlayer.onCreate(PTPlayer.java:50) at android.app.Activity.performCreate(Activity.java:6237) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) at android.app.ActivityThread.-wrap11(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Suppressed: java.lang.ClassNotFoundException: android.support.v4.util.ArrayMap at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:504) ... 16 more Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
Are you using Eclipse or Android Studio? These are two different apps. If I'm not mistaken, Buildbox still should use Eclipse. Not Android Studio.
Hey Christoph, So , I tested my app using both of them. This error I'm getting when I run the game with android studio , and when I run the game using eclipse , it just doesn't run , even on a real device, the app just crashes.
I think you can't run a BB game in the Eclipse simulator. At least I can't and the person that showed me how to set all up says the same. Not possible. If the app crashes on your app, it means you could make it work and export the APK?
Hello, please view tutorials: http://buildbox.com/forum/index.php?threads/are-there-any-bb-code-helpers.482/#post-2893 http://buildbox.com/forum/index.php...pse-java-and-android-sdk-video-tutorial.2794/ If watching the tutorials you can not create the APK, contact me by PM to connect to your PC remotely (Teamviewer)