question

singletechgames avatar image
singletechgames asked

Game Circle and Amazon Mobile Ads in Unity

Hi guys i have a weird problem, i hope you can help me, i have Game Circle running smoothly in a Kindle 1st Generation, now i want to add amazon mobile ads but everytime i add the Google Play Services SDK to Assets/Plugin/Android, Game Circle stops working. The logcat: I/Unity ( 2598): AmazonGameCircle: GameCircleManager - serviceNotReady I/Unity ( 2598): I/Unity ( 2598): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb ug.cpp Line: 49) I/Unity ( 2598): I/Unity ( 2598): Amazon Error: CANNOT_INITIALIZE I/Unity ( 2598): I/Unity ( 2598): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb ug.cpp Line: 49) I/Unity ( 2598): D/receiver( 2567): INTENT I/ActivityManager( 1387): Start proc com.jiubang.goscreenlock.theme.cyrix for br oadcast com.jiubang.goscreenlock.theme.cyrix/.ComponentControlReceiver: pid=2686 uid=10053 gids={3003, 1015} I/Process ( 2686): Sending signal. PID: 2686 SIG: 9 I/ActivityManager( 1387): Process com.jiubang.goscreenlock.theme.cyrix (pid 2686 ) has died. D/PackageBroadcastService( 2004): Received broadcast action=android.intent.actio n.PACKAGE_REPLACED and uri=star.soccer.games.free.world.cup I/ActivityManager( 1387): Start proc com.android.quicksearchbox for broadcast co m.android.quicksearchbox/.CorporaUpdateReceiver: pid=2694 uid=10006 gids={3003} I/PeopleContactsSync( 2004): CP2 sync disabled I/ActivityThread( 2694): Pub com.android.quicksearchbox.google: com.android.quic ksearchbox.google.GoogleSuggestionProvider D/ContentProvider( 2694): Error creating Video folder. D/ContentProvider( 2694): Error creating Pictures folder. I/ActivityThread( 2694): Pub com.android.quicksearchbox.shortcuts: com.android.q uicksearchbox.ShortcutsProvider D/ContentProvider( 2694): Error creating Video folder. D/ContentProvider( 2694): Error creating Pictures folder. I/ActivityManager( 1387): No longer want com.amazon.dcp:UpdatesLookupService (pi d 2224): hidden #16 I/ActivityManager( 1387): Start proc com.android.settings for broadcast com.andr oid.settings/.TopWindowChangereceiver: pid=2704 uid=1000 gids={3003} D/dalvikvm( 1290): GC_EXPLICIT freed 11K, 50% free 2729K/5379K, external 847K/11 81K, paused 42ms D/dalvikvm( 2004): GC_CONCURRENT freed 504K, 41% free 4312K/7303K, external 847K /1181K, paused 2ms+4ms D/GCM ( 1481): GcmService start Intent { act=com.google.android.gms.INITIALI ZE pkg=com.google.android.gms cmp=com.google.android.gms/.gcm.GcmService } com.g oogle.android.gms.INITIALIZE I/ActivityManager( 1387): No longer want com.amazon.kindle.otter (pid 2305): hid den #16 D/dalvikvm( 1290): GC_EXPLICIT freed <1K, 50% free 2729K/5379K, external 847K/11 81K, paused 81ms D/dalvikvm( 1290): GC_EXPLICIT freed <1K, 50% free 2729K/5379K, external 847K/11 81K, paused 37ms I/ActivityManager( 1387): Start proc com.amazon.kindle.otter for broadcast com.a mazon.kindle.otter/.provcache.NotificationsReceiver: pid=2713 uid=32008 gids={30 03, 1015} D/dalvikvm( 1479): GC_FOR_MALLOC freed 2182K, 46% free 6007K/10951K, external 36 76K/4402K, paused 63ms D/dalvikvm( 2598): GetMethodID: method not found: Landroid/view/Display;.getRawW idth:()I W/Uploader( 2004): No account for auth token provided D/dalvikvm( 2004): GC_CONCURRENT freed 618K, 41% free 4502K/7623K, external 847K /1181K, paused 3ms+3ms W/Uploader( 2004): No account for auth token provided D/dalvikvm( 1858): GC_CONCURRENT freed 757K, 56% free 5127K/11399K, external 847 K/1181K, paused 2ms+5ms I/ActivityManager( 1387): No longer want com.amazon.kindle (pid 2343): hidden #1 6 If i delete Google Play Services folder, everything run again, any advice? 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.

singletechgames avatar image
singletechgames answered
Well I can't fix the issue, can i use google play services in a kindle fire game?
10 |5000

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

DougM@Amazon avatar image
DougM@Amazon answered
Hello singletechgames , For the vast majority of APIs exposed via Google Play services, you would not have the runtime components on a Kindle Fire in order to have your app function properly. In general, you would need to while building your plugin to bridge Unity and Google Play Services use logic to degrade gracefully if Google Play services is not available. Which you can do using the GooglePlayServicesUtil.isGooglePlayServicesAvailable(Context) method that is built into the library project. If you aren't comfortable bridging the Android code into your Unity game, I would certainly advise against including Google Play services in a build you intend on running on Kindle Fire, because aside from AdMob, which will degrade gracefully in the absence of Google Play Services for the moment, there are no guarantees that we can provide as to how well it would operate as we do not have the Google Play app on any of our devices.
10 |5000

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