0 Favourites

App - Crashes & ANRs (NoClassDefFoundError)

  • Hey Everybody,

    I've uploaded my app Coin Counter (https://play.google.com/store/apps/deta ... incounter2)

    And everyone had no problems with the app until this came through the "Crashes & ANRs" section of Google Play Developer Console.

    java.lang.NoClassDefFoundError: com.google.android.gms.R$string
    at com.google.android.gms.common.GooglePlayServicesUtil.d(Unknown Source)
    at com.google.android.gms.common.GooglePlayServicesUtil.a(Unknown Source)
    at com.google.android.gms.common.GooglePlayServicesUtil.getErrorDialog(Unknown Source)
    at com.google.example.games.basegameutils.GameHelper.showFailureDialog(GameHelper.java:963)
    at com.google.example.games.basegameutils.GameHelper.showFailureDialog(GameHelper.java:930)
    at com.google.example.games.basegameutils.GameHelper.giveUp(GameHelper.java:908)
    at com.google.example.games.basegameutils.GameHelper.resolveConnectionResult(GameHelper.java:877)
    at com.google.example.games.basegameutils.GameHelper.onConnectionFailed(GameHelper.java:842)
    at com.google.android.gms.internal.hc.a(Unknown Source)
    at com.google.android.gms.common.api.c.eK(Unknown Source)
    at com.google.android.gms.common.api.c.d(Unknown Source)
    at com.google.android.gms.common.api.c$4.onConnectionFailed(Unknown Source)
    at com.google.android.gms.internal.hc.a(Unknown Source)
    at com.google.android.gms.internal.hb$h.b(Unknown Source)
    at com.google.android.gms.internal.hb$h.d(Unknown Source)
    at com.google.android.gms.internal.hb$b.fv(Unknown Source)
    at com.google.android.gms.internal.hb$a.handleMessage(Unknown Source)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:176)
    at android.app.ActivityThread.main(ActivityThread.java:5299)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
    at dalvik.system.NativeStart.main(Native Method)[/code:3fc8fb0h]
    
    *edit* The person that got this error couldn't even start the app.
    His phone details: Android 4.2 - Galaxy Ace3
    
    Plugins my app uses:
    PhonegapGame
    PhonegapIAP
    AdmobAds
    
    Exported with:
    Cordova
    And with Intel XDK: Crosswalk for Android.
    
    I've looked it up online and some people said it had to do with the Google Play Game Service. And that you have to include the version 1 library.
    But I don't know if that is really the solution and how to apply the fix.
    
    Hope you guys know something about this.
  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Got this too. It's happening to my test device.

    Game runs fine, then crashes. Same error msg. Running Android KitKat 4.4.2.

    Third party wise, all I'm using is Phonegap Game. Also using internal google play plug (works on crosswalk, but Phonegap Game has features the official plugin doesn't, and vice-versa).

    Anybody else seeing this?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)