Amazon Gamecircle throwing a Google gameNetwork Error

Hi,

When I submit my apk to Amazon it throws an error as shown on the screenshot below.

5.jpg

/Users/jenkins/slaveroot/workspace/Templates/label/android/librtt/Corona/CoronaLibrary.lua:102: ERROR: Could not load provider (google) due to the following reason: /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:835: module 'CoronaProvider.gameNetwork.google' not found:resource (CoronaProvider.gameNetwork.google.lu) does not exist in archive &nbsp;&nbsp;&nbsp;&nbsp;no field package.preload['CoronaProvider.gameNetwork.google'] &nbsp;&nbsp;&nbsp;&nbsp;no file '(null)/CoronaProvider/gameNetwork/google.lua' &nbsp;&nbsp;&nbsp;&nbsp;no file '(null)/CoronaProvider/gameNetwork/google.lua' &nbsp;&nbsp;&nbsp;&nbsp;no file '/data/app/com.silkyoceanstudios.junglelander-1/lib/arm/libCoronaProvider/gameNetwork/google.so' &nbsp;&nbsp;&nbsp;&nbsp;no file './CoronaProvider/gameNetwork/google.so' &nbsp;&nbsp;&nbsp;&nbsp;no file '(null)/CoronaProvider/gameNetwork/google.so' &nbsp;&nbsp;&nbsp;&nbsp;no file '/data/app/com.silkyoceanstudios.junglelander-1/lib/arm/libCoronaProvider.so' &nbsp;&nbsp;&nbsp;&nbsp;no file './CoronaProvider.so' &nbsp;&nbsp;&nbsp;&nbsp;no file '(null)/CoronaProvider.so' &nbsp;&nbsp;&nbsp;&nbsp;no file '/data/app/com.silkyoceanstudios.junglelander-1/lib/arm/libCoronaProvider.gameNetwork.google.so' &nbsp;&nbsp;&nbsp;&nbsp;no file './CoronaProvider.gameNetwork.google.so' &nbsp;&nbsp;&nbsp;&nbsp;no file '(null)/CoronaProvider.gameNetwork.google.so'. stack traceback: &nbsp;&nbsp;&nbsp;&nbsp;[C]: in function 'assert' &nbsp;&nbsp;&nbsp;&nbsp;/Users/jenkins/slaveroot/workspace/Templates/label/android/librtt/Corona/CoronaLibrary.lua:102: in function 'requireProvider' &nbsp;&nbsp;&nbsp;&nbsp;/Users/jenkins/slaveroot/workspace/Templates/label/android/librtt/Corona/CoronaLibrary.lua:127: in function 'setCurrentProvider' &nbsp;&nbsp;&nbsp;&nbsp;?: in function 'init' &nbsp;&nbsp;&nbsp;&nbsp;?: in function '?' &nbsp;&nbsp;&nbsp;&nbsp;?: in function 'init' &nbsp;&nbsp;&nbsp;&nbsp;?: in function 'func' &nbsp;&nbsp;&nbsp;&nbsp;/Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:241: in function \</Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:221\>

I get this error using the Amazon App Testing Service and if I upload the app to them and test it on a real device.  From the App Testing service it happens on all devices

Everything works ok on iOS and Google Play.

Its odd as it seems to be trying to load a gameNetwork file.

Any ideas?

Can you post your build.settings file?

When you build are you building for Google or Amazon?

Is your code properly detecting Amazon and not trying to load Google Play Game Services?

Hi Rob,

Here are build settings

-- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight &nbsp; settings = { &nbsp; orientation = { default = "landscapeRight", supported = { "landscapeRight" , "landscapeLeft" } }, &nbsp; &nbsp; &nbsp; &nbsp;plugins = &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; ["plugin.gameanalytics"] = &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; publisherId = "com.gameanalytics", &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp; ["plugin.advertisingId"] = &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; publisherId = "com.coronalabs", &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp; ["plugin.chartboost"] = &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -- required &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; publisherId = "com.swipeware" &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp; ["CoronaProvider.gameNetwork.google"] = &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; publisherId = "com.coronalabs", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; supportedPlatforms = { android=true }, &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp; ["CoronaProvider.gameNetwork.apple"] = &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; publisherId = "com.coronalabs", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; supportedPlatforms = { iphone=true, ["iphone-sim"]=true }, &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp; ["plugin.gamecircle"] = &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -- required &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; publisherId = "COM\_INNOVATIVELEISURE", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; supportedPlatforms = { ["android-kindle"] = true }, &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; android = &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; googlePlayGamesAppId = "1111111111", --removed for this post &nbsp; &nbsp; &nbsp; &nbsp; versionCode = "115", &nbsp; &nbsp; &nbsp; &nbsp; allowAppsReadOnlyAccessToFiles = false, &nbsp; &nbsp; &nbsp; &nbsp; usesPermissions = &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "android.permission.INTERNET", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "android.permission.WRITE\_EXTERNAL\_STORAGE", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "android.permission.VIBRATE", &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; iphone = { plist = { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CFBundleIconFiles = { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon@2x.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-60.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-60@2x.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-60@3x.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-72.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-72@2x.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-76.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-76@2x.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-Small-40.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-Small-40@2x.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-Small-40@3x.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-Small-50.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-Small-50@2x.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-Small.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-Small@2x.png" &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UILaunchImages = { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; UIStatusBarHidden = false, UIPrerenderedIcon = true, -- set to false for "shine" overlay --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --[[&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -- iOS app URL schemes: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CFBundleURLTypes = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CFBundleURLSchemes = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "fbXXXXXXXXXXXXXX", -- example scheme for facebook &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "coronasdkapp", -- example second scheme &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --]] } }, } &nbsp;

I’ve targeted Amazon for the build ok.

How much of gameNetwork do I need to exclude in my code. e.g. do I need an if around the ‘require’ on each page.

Are there any examples of combining the GameCircle and GameNetwork plugins in one file?

Thanks 

Can you post your build.settings file?

When you build are you building for Google or Amazon?

Is your code properly detecting Amazon and not trying to load Google Play Game Services?

Hi Rob,

Here are build settings

-- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight &nbsp; settings = { &nbsp; orientation = { default = "landscapeRight", supported = { "landscapeRight" , "landscapeLeft" } }, &nbsp; &nbsp; &nbsp; &nbsp;plugins = &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; ["plugin.gameanalytics"] = &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; publisherId = "com.gameanalytics", &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp; ["plugin.advertisingId"] = &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; publisherId = "com.coronalabs", &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp; ["plugin.chartboost"] = &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -- required &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; publisherId = "com.swipeware" &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp; ["CoronaProvider.gameNetwork.google"] = &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; publisherId = "com.coronalabs", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; supportedPlatforms = { android=true }, &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp; ["CoronaProvider.gameNetwork.apple"] = &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; publisherId = "com.coronalabs", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; supportedPlatforms = { iphone=true, ["iphone-sim"]=true }, &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp; ["plugin.gamecircle"] = &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -- required &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; publisherId = "COM\_INNOVATIVELEISURE", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; supportedPlatforms = { ["android-kindle"] = true }, &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; android = &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; googlePlayGamesAppId = "1111111111", --removed for this post &nbsp; &nbsp; &nbsp; &nbsp; versionCode = "115", &nbsp; &nbsp; &nbsp; &nbsp; allowAppsReadOnlyAccessToFiles = false, &nbsp; &nbsp; &nbsp; &nbsp; usesPermissions = &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "android.permission.INTERNET", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "android.permission.WRITE\_EXTERNAL\_STORAGE", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "android.permission.VIBRATE", &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; iphone = { plist = { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CFBundleIconFiles = { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon@2x.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-60.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-60@2x.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-60@3x.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-72.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-72@2x.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-76.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-76@2x.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-Small-40.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-Small-40@2x.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-Small-40@3x.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-Small-50.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-Small-50@2x.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-Small.png", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "Icon-Small@2x.png" &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UILaunchImages = { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; UIStatusBarHidden = false, UIPrerenderedIcon = true, -- set to false for "shine" overlay --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --[[&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -- iOS app URL schemes: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CFBundleURLTypes = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CFBundleURLSchemes = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "fbXXXXXXXXXXXXXX", -- example scheme for facebook &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "coronasdkapp", -- example second scheme &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --]] } }, } &nbsp;

I’ve targeted Amazon for the build ok.

How much of gameNetwork do I need to exclude in my code. e.g. do I need an if around the ‘require’ on each page.

Are there any examples of combining the GameCircle and GameNetwork plugins in one file?

Thanks