Admob is not working with other plugins

Hi,

I am using the following plugins in my app in android platform.

–For Admob:

plugins =

{

        [“plugin.google.play.services”] =

        {

            publisherId = “com.coronalabs”,

        },

    },

–For Share:

{

       [“CoronaProvider.native.popup.social”] =

       {

           publisherId = “com.coronalabs”,

       },

},

If I only use Admob plugin its woking perfectly. Same for share plugin but when I add them together the app is crashing in my device with error: ‘CoronaProvider.ads.admob’ not found.

Please help.

Is that your actual copy/pasted code or did you hand type it? If you copy/pasted it, you have an error in your build.settings:

plugins = { ["plugin.google.play.services"] = { publisherId = "com.coronalabs", }, }, --\<----- this closes the plugin table --For Share: { --\<----- this opens a table that has no name. Remove both of these ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs", }, },

See the notes in the code above.

Thanks Rob, it worked.

Is that your actual copy/pasted code or did you hand type it? If you copy/pasted it, you have an error in your build.settings:

plugins = { ["plugin.google.play.services"] = { publisherId = "com.coronalabs", }, }, --\<----- this closes the plugin table --For Share: { --\<----- this opens a table that has no name. Remove both of these ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs", }, },

See the notes in the code above.

Thanks Rob, it worked.