game center plugin preventing android build

Hey Guys,

Right now when I build for Android I get the following error:

"A device build error occurred on the server.

 

Error: Get plugin failed.

 

Plugin: CoronaProvider.gameNetwork.apple"

 

 

 

 

I can of course remove this plugin from my build settings when I compile for Android and put it back when I compile for iOS but I don’t remember having to do that before. Is there some kind of conditional I can use? I tried adding a “support platforms” field without much success.

 

 [“CoronaProvider.gameNetwork.apple”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { iphone=true, android=false }

        },

Any insight would be appreciated.

Try

 ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true } },

That’s the winner! Thanks, @Rob.

Hi @authorwjf,

The “supportedPlatforms” line should not be required whatsoever. That usage has been deprecated, so I encourage you to remove it entirely and test if the build succeeds. If it does not, please report back here and we will investigate further.

Best regards,

Brent

Try

 ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true } },

That’s the winner! Thanks, @Rob.

Hi @authorwjf,

The “supportedPlatforms” line should not be required whatsoever. That usage has been deprecated, so I encourage you to remove it entirely and test if the build succeeds. If it does not, please report back here and we will investigate further.

Best regards,

Brent