question

Skurry avatar image
Skurry asked

GameCircle crashing at startup on Android 2.2.1

Hi, When I try to run my app that integrates GameCircle SDK 2.3.0 on a device with Android 2.2.1 (API 8), it crashes on startup with the error below. I did a bit of research, and it seems "android.os.Build.SERIAL" is only available since API 9. Yet I can't find any indication the GameCircle requires API 9. In fact, the manifest in the GameCircle SDK project specifies minSdkVersion of 8. Did you forget to handle this particular check, or should the minSdkVersion really be 9? Thanks! 03-16 13:38:20.426: E/AndroidRuntime(1150): FATAL EXCEPTION: main 03-16 13:38:20.426: E/AndroidRuntime(1150): java.lang.NoSuchFieldError: android.os.Build.SERIAL 03-16 13:38:20.426: E/AndroidRuntime(1150): at com.amazon.ags.html5.util.DeviceInfo.getIdentifier(DeviceInfo.java:30) 03-16 13:38:20.426: E/AndroidRuntime(1150): at com.amazon.ags.client.metrics.AmazonInsightsEventCollector$1.onComplete(AmazonInsightsEventCollector.java:69) 03-16 13:38:20.426: E/AndroidRuntime(1150): at com.amazon.ags.client.metrics.AmazonInsightsEventCollector$1.onComplete(AmazonInsightsEventCollector.java:64) 03-16 13:38:20.426: E/AndroidRuntime(1150): at com.amazon.insights.AmazonInsights$DefaultAmazonInsights. (AmazonInsights.java:350) 03-16 13:38:20.426: E/AndroidRuntime(1150): at com.amazon.insights.AmazonInsights.newInstance(AmazonInsights.java:267) 03-16 13:38:20.426: E/AndroidRuntime(1150): at com.amazon.insights.AmazonInsights.newInstance(AmazonInsights.java:238) 03-16 13:38:20.426: E/AndroidRuntime(1150): at com.amazon.insights.AmazonInsights.newInstance(AmazonInsights.java:226) 03-16 13:38:20.426: E/AndroidRuntime(1150): at com.amazon.insights.AmazonInsights.newInstance(AmazonInsights.java:199) 03-16 13:38:20.426: E/AndroidRuntime(1150): at com.amazon.ags.client.metrics.AmazonInsightsEventCollector.initialize(AmazonInsightsEventCollector.java:64) 03-16 13:38:20.426: E/AndroidRuntime(1150): at com.amazon.ags.client.metrics.AmazonInsightsEventCollector. (AmazonInsightsEventCollector.java:46) 03-16 13:38:20.426: E/AndroidRuntime(1150): at com.amazon.ags.client.metrics.EventCollectorClient. (EventCollectorClient.java:58) 03-16 13:38:20.426: E/AndroidRuntime(1150): at com.amazon.ags.client.metrics.EventCollectorClient.initialize(EventCollectorClient.java:43) 03-16 13:38:20.426: E/AndroidRuntime(1150): at com.amazon.ags.api.AmazonGamesClient. (AmazonGamesClient.java:114) 03-16 13:38:20.426: E/AndroidRuntime(1150): at com.amazon.ags.api.AmazonGamesClient.initialize(AmazonGamesClient.java:156) 03-16 13:38:20.426: E/AndroidRuntime(1150): at com.smartician.sapphiresmash.MainActivity.onResume(MainActivity.java:51) 03-16 13:38:20.426: E/AndroidRuntime(1150): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149) 03-16 13:38:20.426: E/AndroidRuntime(1150): at android.app.Activity.performResume(Activity.java:3823) 03-16 13:38:20.426: E/AndroidRuntime(1150): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3118) 03-16 13:38:20.426: E/AndroidRuntime(1150): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3143) 03-16 13:38:20.426: E/AndroidRuntime(1150): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2684) 03-16 13:38:20.426: E/AndroidRuntime(1150): at android.app.ActivityThread.access$2300(ActivityThread.java:125) 03-16 13:38:20.426: E/AndroidRuntime(1150): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) 03-16 13:38:20.426: E/AndroidRuntime(1150): at android.os.Handler.dispatchMessage(Handler.java:99) 03-16 13:38:20.426: E/AndroidRuntime(1150): at android.os.Looper.loop(Looper.java:123) 03-16 13:38:20.426: E/AndroidRuntime(1150): at android.app.ActivityThread.main(ActivityThread.java:4627) 03-16 13:38:20.426: E/AndroidRuntime(1150): at java.lang.reflect.Method.invokeNative(Native Method) 03-16 13:38:20.426: E/AndroidRuntime(1150): at java.lang.reflect.Method.invoke(Method.java:521) 03-16 13:38:20.426: E/AndroidRuntime(1150): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:893) 03-16 13:38:20.426: E/AndroidRuntime(1150): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:651) 03-16 13:38:20.426: E/AndroidRuntime(1150): at dalvik.system.NativeStart.main(Native Method)
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

morefunnerguy avatar image
morefunnerguy answered
Hi, I am having the same problem that you have mentioned on one of my test devices, its a Samsung Dart SGH-T499, Android version 2.2.2, FROYO.UVKE4. Any help would be appreciated. Thanks, Scott
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi All, The earliest version of Android OS we support is 10 (2.3.3) for GameCircle SDK. Though we are going to investigate the issue and add the fix for said version in the subsequent release. Thank you for bringing this up. Thanks.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Cory J. Trese avatar image
Cory J. Trese answered
Not fixed yet?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Cory, Officially I can not give you any ETA for this, but I have brought this concerned teams notice with priority.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.