Google Play Services error on Amazon builds

I have got the following error:

My build.settings:

settings = { plugins = { ["plugin.utf8"] = { publisherId = "com.coronalabs" }, ["plugin.CoronaSplashControl"] = { publisherId = "com.coronalabs" }, ["plugin.notifications.v2"] = { publisherId = "com.coronalabs" }, ["plugin.gamecircle"] = { publisherId = "COM\_INNOVATIVELEISURE", supportedPlatforms = { ["android-kindle"]=true } }, ["plugin.amazon.iap"] = { publisherId = "com.coronalabs", supportedPlatforms = { ["android-kindle"]=true } }, ["plugin.facebook.v4"] = { publisherId = "com.coronalabs" }, }, splashScreen = { enable = false }, orientation = { default = "landscapeRight", supported = { "landscapeRight","landscapeLeft" }, }, android = { usesPermissions = { "com.android.vending.BILLING", "android.permission.INTERNET", --"android.permission.READ\_PHONE\_STATE", "android.permission.ACCESS\_NETWORK\_STATE", }, }, }, settings = { excludeFiles = { all = { "Images.xcassets" } }, } }

Please, HELP!!!

Change:

 ["plugin.notifications.v2"] = { publisherId = "com.coronalabs" }, 

To:

 ["plugin.notifications.v2"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android = true } },

Strange proposal   :angry:

I use

      ["plugin.notifications"] =         {           publisherId = "com.coronalabs",         },

and have no problems with Amazon.

It is most likely v2 is tied to Google Play Services.

If you did what I told you then you need to check for the platform in your code and not use it. Since v2 is tied to Googe Play Services like SGS mentioned.

if system.getInfo("targetAppStore") ~= "amazon" then --Init the library. -- Or do some work. end

I use the OneSignal library and it works fine on Amazon.

Change:

 ["plugin.notifications.v2"] = { publisherId = "com.coronalabs" }, 

To:

 ["plugin.notifications.v2"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android = true } },

Strange proposal   :angry:

I use

      ["plugin.notifications"] =         {           publisherId = "com.coronalabs",         },

and have no problems with Amazon.

It is most likely v2 is tied to Google Play Services.

If you did what I told you then you need to check for the platform in your code and not use it. Since v2 is tied to Googe Play Services like SGS mentioned.

if system.getInfo("targetAppStore") ~= "amazon" then --Init the library. -- Or do some work. end

I use the OneSignal library and it works fine on Amazon.