Software Archive
Read-only legacy content
17061 Discussions

Google Play - Crashes & ANRs report - Need help!

Samuel_Roshan_A_
Beginner
557 Views

Hi Intel,

3 weeks ago I released my game called "Last of the Survivors"

Google Play URL: https://play.google.com/store/apps/details?id=com.gamessolidrock.lastofthesurvivors

The game was created using Construct 2 and compiled/built using the last version of Intel XDK. After the user installs started picking, many have since come back and reported that the game is crashing on their Mobile/Tabs! The range of device is vast. Will upload the Crash Report I extracted from Google Dev Console. The report has the device, Android version and the Javascript that caused Crash.

https://drive.google.com/file/d/0B3-U8v4LYOJNT3dCQmNoeng2cU0/view?usp=sharing

I am very new the Android development and would appreciate any help from here. Please help me as by Game review is constantly going down :'(

I will also post of the common error messages I see on the Console:

Error #1

java.lang.IllegalStateException: IAB helper is not set up. Can't perform operation: queryInventory
at com.smartmobilesoftware.util.IabHelper.checkSetupDone(IabHelper.java:782)
at com.smartmobilesoftware.util.IabHelper.queryInventoryAsync(IabHelper.java:610)
at jp.wizcorp.phonegap.plugin.wizPurchase.IAP$2.onIabSetupFinished(IAP.java:278)
at com.smartmobilesoftware.util.IabHelper$1.onServiceConnected(IabHelper.java:260)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1115)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1132)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4998)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
at dalvik.system.NativeStart.main(Native Method)

 

Error #2

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/lt02wifixx/lt02wifi:4.4.2/KOT49H/T210XXBNH5:user/release-keys'
Revision: '7'
pid: 23797, tid: 23830, name: WorkerPool/2383 >>> com.gamessolidrock.lastofthesurvivors <<<
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 777582c0
r0 7c0ef3e0 r1 401fa540 r2 401fa540 r3 f3f42347
r4 77798320 r5 7c0ef3e0 r6 401cfc51 r7 400cc384
r8 7c0f0b48 r9 00000001 sl 00000001 fp 00000000
ip 00000003 sp 777582c8 lr 404fe747 pc 401cfc50 cpsr 00070030
d0 676e654c29286874 d1 2d6d616572747320
d2 724665646f636544 d3 3431303220656d61
d4 4010000000000000 d5 bebbb63036c79c05
d6 000000a072bea4d0 d7 43200000000000a0
d8 3f8000003f800000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 0000000100000001 d17 4000000000000000
d18 4000000000000000 d19 3fc986d327d54580
d20 3fc551b779af12e5 d21 bf66bbe9530cccae
d22 3fc8adc3e03ae00c d23 40c0000000000000
d24 3f95c966ebf3f9e8 d25 bf95c966c155d531
d26 402213664f3f26db d27 4000000000000000
d28 3ffcea4783f8a3fe d29 bfcc400000000026
d30 3ff0000000000000 d31 40c3880000000005
scr 60000010

backtrace:
#00 pc 00084c50 /system/lib/libandroid_runtime.so (register_android_graphics_Typeface(_JNIEnv*)+23)
#01 pc fffffffd <unknown>

code around pc:
401cfc30 0002b722 ffffffa0 23064903 44794a03
401cfc40 f7cd447a bf00b8fd 00023a8c 0003310c
401cfc50 6880b508 69996803 bd084788 6880b508
401cfc60 69d96803 43014788 2000bf14 bd082001
401cfc70 43f7e92d 46164680 2900460f 2a00d131
401cfc80 6880d03f 23002200 0901f04f f8cd6801
401cfc90 68cd9000 460447a8 f1b5460d bf083fff
401cfca0 3ffff1b4 4818d104 f7b94478 e016ec94
401cfcb0 0008f8d8 6802463b 9000f8cd 463268d1
401cfcc0 f1b14788 bf083fff 3ffff1b0 ebc4bf18
401cfcd0 d1120400 4631480d f7b94478 4638ec7c
401cfce0 6880e010 689c6803 1e0447a0 4808dc07
401cfcf0 46224631 f7b94478 ea24ec6e 462074e4
401cfd00 4610e000 83fee8bd 00023ac4 00023ab9
401cfd10 00023abb 2200b513 24006880 94006803
401cfd20 230068d9 f1b14788 bf083fff 3ffff1b0

code around lr:
404fe724 4604460d f50d6809 68332080 6b0f3014
404fe734 46286003 463747b8 682ab1f0 6b564628
404fe744 686347b0 46064298 6821d101 6820e00b
404fe754 fe64f018 4630b126 fe6ef018 e0004601
404fe764 e8844631 68280042 68c34632 47984628
404fe774 bf1842b0 e02c2600 f7d54668 682afc47
404fe784 4628a905 f44f68d6 47b02280 4602a905
404fe794 f7d54668 682bfcf3 69194628 28004788
404fe7a4 9e03d0ed 42866860 6821d101 6820e00b
404fe7b4 fe34f018 4630b126 fe3ef018 e0004601
404fe7c4 e8844631 46680042 fc5cf7d5 f7d54668
404fe7d4 f50dfd23 46302180 680a3114 429a683b
404fe7e4 f797d001 b007eefc 2d80f50d bf00bdf0
404fe7f4 00121418 fffff358 7a00edd1 0ae7eef7
404fe804 0b00edc0 0a01ed91 1ac0eeb7 1b02ed80
404fe814 0a02edd1 2ae0eeb7 2b04ed80 1a03edd1

Error #3

java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.gamessolidrock.lastofthesurvivors/com.gamessolidrock.lastofthesurvivors.LastoftesurvivorsV4}: java.lang.ClassNotFoundException: Didn't find class "com.gamessolidrock.lastofthesurvivors.LastoftesurvivorsV4" on path: DexPathList[[zip file "/mnt/asec/com.gamessolidrock.lastofthesurvivors-1/pkg.apk"],nativeLibraryDirectories=[/mnt/asec/com.gamessolidrock.lastofthesurvivors-1/lib, /vendor/lib, /system/lib]]
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2264)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2390)
at android.app.ActivityThread.access$800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5299)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:825)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.gamessolidrock.lastofthesurvivors.LastoftesurvivorsV4" on path: DexPathList[[zip file "/mnt/asec/com.gamessolidrock.lastofthesurvivors-1/pkg.apk"],nativeLibraryDirectories=[/mnt/asec/com.gamessolidrock.lastofthesurvivors-1/lib, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at android.app.Instrumentation.newActivity(Instrumentation.java:1061)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2255)
... 11 more
Suppressed: java.io.IOException: unable to open DEX file
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(DexFile.java:296)
at dalvik.system.DexFile.<init>(DexFile.java:80)
at dalvik.system.DexFile.<init>(DexFile.java:59)
at dalvik.system.DexPathList.loadDexFile(DexPathList.java:263)
at dalvik.system.DexPathList.makeDexElements(DexPathList.java:230)
at dalvik.system.DexPathList.<init>(DexPathList.java:112)
at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:326)
at android.app.LoadedApk.makeApplication(LoadedApk.java:508)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4514)
at android.app.ActivityThread.access$1500(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1381)
... 8 more

0 Kudos
5 Replies
PaulF_IntelCorp
Employee
557 Views

Did you build with Crosswalk 10? There are some devices with bad GPU implementations that can cause rendering problems, not sure if this problem also results in crashes. I will forward to our Crosswalk team to see if they can provide any insight.

0 Kudos
Samuel_Roshan_A_
Beginner
557 Views

Paul Fischer (Intel) wrote:

Did you build with Crosswalk 10? There are some devices with bad GPU implementations that can cause rendering problems, not sure if this problem also results in crashes. I will forward to our Crosswalk team to see if they can provide any insight.


Thank you Paul! Hope they can help me out quickly. I am unable to see whats causing all these issues.

 

Also in Intel XDK is there a way I can set a minimum requirement on the device. eg: >=1GB  RAM

Most people complaining about LAG and slow game are ones with 256MB or 512MB RAM! 

0 Kudos
John_H_Intel2
Employee
557 Views

I had one of the engineer look at your error logs and he had this to say:

#1 “IAB helper is not set up. Can't perform operation: queryInventory"
looks like he is using a plugin for InAppPurchase and it is crashing, probably because it was not initialized properly, but can’t be sure.
http://stackoverflow.com/questions/13943950/in-app-billing-doesnt-work-iab-helper-is-not-set-up

#2 Not really sure, but this line makes me think maybe he is using a font that is not available on some devices?
"#00 pc 00084c50 /system/lib/libandroid_runtime.so (register_android_graphics_Typeface(_JNIEnv*)+23)”

#3 Seems like this might be due to a bad build?  I would expect that if this error occurred, the app would never start at all with the specific apk the error occurs with.
How many times did this one happen?  If it is only a few times I would ignore it.

0 Kudos
Samuel_Roshan_A_
Beginner
557 Views

Thank you John!

 

#1 I will check the IAP Plugin, I am using the PhoneGapIAP plugin to request storelisting on start of Game.

#2 Most users are from Philippines and Asian countries, does that mean they dont have the Font that I use in my game? Could this result in crash?

#3 What is a bad build? I used the Intel XDK only and the game works well on majority of the devices. There are more than 14+ unique users who had this issue. Unfortunately these are the guys bad rating my game :(
How do I fix the Build? Could you let me know that please?

0 Kudos
Samuel_Roshan_A_
Beginner
557 Views

@Paul Fischer (Intel)

0 Kudos
Reply