Corona crashes just by declaring plugin in build settings.

My Corona project is crashing just by adding in the plugin declaration for Google Play Games in the build settings. Here’s my build settings file:

– Supported values for orientation:
– portrait, portraitUpsideDown, landscapeLeft, landscapeRight

settings = {
    
    
    orientation = {
        default = “landscapeLeft”,
        supported = { “landscapeLeft” }
    },

    android =
    {
        googlePlayGamesAppId = “my app number (I left this out)”,
    },

    plugins =
    {
    
        [“CoronaProvider.gameNetwork.google”] =
        {
            publisherId = “com.coronalabs”,
            supportedPlatforms = { android = true }
        },
        
        [“CoronaProvider.ads.admob”] =
        {
            publisherId = “com.coronalabs”,
        },
    },
    
    iphone = {
        plist = {
            UIStatusBarHidden = false,
            UIPrerenderedIcon = true, – set to false for “shine” overlay
            --UIApplicationExitsOnSuspend = true, – uncomment to quit app on suspend

            --[[
            – iOS app URL schemes:
            CFBundleURLTypes =
            {
                {
                    CFBundleURLSchemes =
                    {
                        “fbXXXXXXXXXXXXXX”, – example scheme for facebook
                        “coronasdkapp”, – example second scheme
                    }
                }
            }
            --]]
        }
    },
    
    --[[
    – Android permissions

    androidPermissions = {
          “android.permission.INTERNET”,
      },

    ]]–
}
 

Any idea of why this is happening?

Any errors in your console log?

I see you’re trying to use the old admob plugin which may no longer be available now that V2 is out.  Google doesn’t allow the old version to work any more so we may have killed it.  See:

http://docs.coronalabs.com/plugin/ads-admob-v2/index.html

to implement the V2 plugin.

Rob

Any errors in your console log?

I see you’re trying to use the old admob plugin which may no longer be available now that V2 is out.  Google doesn’t allow the old version to work any more so we may have killed it.  See:

http://docs.coronalabs.com/plugin/ads-admob-v2/index.html

to implement the V2 plugin.

Rob