App - Crashes & ANRs (NoClassDefFoundError)

Discussion and feedback on Construct 2

Post » Tue Mar 24, 2015 5:57 pm

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.

Code: Select all
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)


*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.
B
4
Posts: 1
Reputation: 202

Post » Sat Apr 04, 2015 10:33 pm

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?
Don't lose your work. Backup your game with Dropbox.
B
43
S
10
G
10
Posts: 1,106
Reputation: 9,157


Return to Construct 2 General

Who is online

Users browsing this forum: Gelvard and 6 guests