AppWarp Error on Android, Libgdx

08-02 16:44:49.713: E/AndroidRuntime(3172): FATAL EXCEPTION: GLThread 2436
08-02 16:44:49.713: E/AndroidRuntime(3172): Process: com.jmptest.mptestappwarp.android, PID: 3172
08-02 16:44:49.713: E/AndroidRuntime(3172): java.lang.NoClassDefFoundError: com.shephertz.app42.gaming.multiplayer.client.WarpClient
08-02 16:44:49.713: E/AndroidRuntime(3172):     at  appwarp.WarpController.initAppwarp(WarpController.java:78)

I get the above error every time I try to run AppWarp on Android using the libgdx framework. I followed this tutorial http://appwarp.shephertz.com/game-development-center/java-multiplayer-libgdx-tutorial/ and downloaded the application source and tried to launch it, but when I started on Android, I got the same error. I figured this might be a problem with kitkat, so I am updating the warp lib application (android-and-java-sdk one), but I still have the same error. So, I tried to implement it in my own game. And it works great on the desktop, but as you can see from the above error, it crashes to android again. It seems to be a NoClassDefFoundError, the class is WarpClient. This is where it crashes:

private void initAppwarp(){
    try {
        WarpClient.initialize(apiKey, secretKey); //this line causes crash
        warpClient = WarpClient.getInstance();
    } catch (Exception e) {
        e.printStackTrace();
    }
}

, , . app crash, Android?

+4
1

. , - . libs warp, Android . . , , , libs, NoClassDefFoundError. Android , .

+3

All Articles