is there is any issue with admob for corona build servers ?

today i just got this err when i am trying to build my app

ES 3.0 V@84.0 AU@ (CL@) / 2015.2678 V/Corona ( 6922): \> Class.forName: plugin.fuse.LuaLoader V/Corona ( 6922): \> Class.forName: CoronaProvider.licensing.google.LuaLoader V/Corona ( 6922): \< Class.forName: CoronaProvider.licensing.google.LuaLoader V/Corona ( 6922): Loading via reflection: CoronaProvider.licensing.google.LuaLo ader V/Corona ( 6922): \> Class.forName: CoronaProvider.ads.admob.LuaLoader V/Corona ( 6922): WARNING: Could not load 'CoronaProvider.ads.admob.LuaLoader' I/Corona ( 6922): Runtime error I/Corona ( 6922): /Users/jenkins/slaveroot/workspace/Templates/label/android/li brtt/Corona/CoronaLibrary.lua:102: ERROR: Could not load provider (admob) due to the following reason: /Users/jenkins/slaveroot/workspace/Templates/label/androi d/platform/resources/init.lua:835: module 'CoronaProvider.ads.admob' not found:r esource (CoronaProvider.ads.admob.lu) does not exist in archive I/Corona ( 6922): no field package.preload['CoronaProvider.ads.admob'] I/Corona ( 6922): no file '(null)/CoronaProvider/ads/admob.lua' I/Corona ( 6922): no file '(null)/CoronaProvider/ads/admob.lua' I/Corona ( 6922): no file '/data/app/GAMENAMEXXXX /lib/arm/libCoronaProvider/ads/admob.so' I/Corona ( 6922): no file './CoronaProvider/ads/admob.so' I/Corona ( 6922): no file '(null)/CoronaProvider/ads/admob.so' I/Corona ( 6922): no file '/data/app/GAMENAMEXXXX /lib/arm/libCoronaProvider.so' I/Corona ( 6922): no file './CoronaProvider.so' I/Corona ( 6922): no file '(null)/CoronaProvider.so' I/Corona ( 6922): no file '/data/app/GAMENAMEXXXX /lib/arm/libCoronaProvider.ads.admob.so' I/Corona ( 6922): no file './CoronaProvider.ads.admob.so' I/Corona ( 6922): no file '(null)/

my build settings is

-- -- For more information on build.settings see the Corona SDK Build Guide at: -- http://docs.coronalabs.com/guide/distribution/buildSettings/index.html -- settings = { orientation = { -- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight default = "portrait", supported = { "portrait", } }, excludeFiles = { -- Include only the necessary icon files on each platform iphone = { "Icon-\*dpi.png", }, android = { "Icon.png", "Icon-Small-\*.png", "Icon\*@2x.png", }, }, plugins = { ["CoronaProvider.ads.vungle"] = { publisherId = "com.vungle", }, ["CoronaProvider.ads.iads"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone = true }, }, ["plugin.google.play.services"] = { publisherId = "com.coronalabs" }, }, -- -- iOS Section -- iphone = { plist = { UIStatusBarHidden = false, UIPrerenderedIcon = true, -- set to false for "shine" overlay --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-60@3x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small@3x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", }, --[[-- iOS app URL schemes: CFBundleURLTypes = { { CFBundleURLSchemes = { "fbXXXXXXXXX", -- replace XXXXXXXXX with your Facebook appId } } } --]] } }, -- -- Android Section -- android = { usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.READ\_PHONE\_STATE", "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission.VIBRATE", }, }, }

i am intialing the add provider and ads in the splash screen  ( preMain ) lua file like this

local ads = require(&nbsp; "ads"&nbsp; ) local adProvider = "admob" ads.init( adProvider, "ca-app-pub-xxxxx/xxxxx", adsListener ) ads.init( adProvider, "ca-app-pub-xxxxx/xxxxx", adsListener ) ads.init( "vungle", "xxxxxxxxxx")

and i am playing the adds like this

local adProvider = "admob" ads.init( adProvider, "ca-app-pub-xxx/xxx" ) ads.show( "banner", { x=0, y=100000 } )

so whats going on ?

i am using CoronaSDK 2015.2678  daily build

 

Is there a reason why you are performing ads.init multiple times? This can cause various problems to occur. This should only be performed once at the start of the application.

Thanks reedhos , i change the ads.init to be only in the splash screen , but i still same err

i dont know whats going on really

i crate one simple project to build with corona with admob plugin

the main

local composer = require( "composer" ) local scene = composer.newScene() ads = require( "ads" ) local options = { effect = "fade", time = 1000, } adProvider = "admob" ads.init( adProvider, "ca-app-pub-xx/xxx") ads.init( adProvider, "ca-app-pub-xx/xxx" ) local centerX = display.contentCenterX local centerY = display.contentCenterY local screenLeft = display.screenOriginX local screenWidth = display.contentWidth - screenLeft \* 2 local screenRight = screenLeft + screenWidth local screenTop = display.screenOriginY local screenHeight = display.contentHeight - screenTop \* 2 local screenBottom = screenTop + screenHeight display.setStatusBar(display.HiddenStatusBar) bannerAppID = "ca-app-pub-xx/xxx" --for your Android banner interstitialAppID = "ca-app-pub-xx/xxx" --for your Android interstitial local adProvider = "admob" ads.init( adProvider, "ca-app-pub-xx/xxx", ) ads.show( "banner", { x=0, y=100000 } ) if ( ads.isLoaded("interstitial") ) then ads.show( "interstitial", { appId=interstitialAppID } ) end

Build

settings = { orientation = { -- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight default = "portrait", supported = { "portrait", } }, excludeFiles = { -- Include only the necessary icon files on each platform iphone = { "Icon-\*dpi.png", }, android = { "Icon.png", "Icon-Small-\*.png", "Icon\*@2x.png", }, }, plugins = { ["plugin.google.play.services"] = { publisherId = "com.coronalabs" }, }, android = { usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.READ\_PHONE\_STATE", "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission.VIBRATE", }, }, },

config

application = { content = { width = 320, height = 480, scale = "letterBox", fps = 60, --[[imageSuffix = { ["@2x"] = 2, }, --]] }, --[[-- Push notifications notification = { iphone = { types = { "badge", "sound", "alert", "newsstand" } } }, --]] }

only these 3 files and same err

so whats going on ?

i also reinstall corona . and also moved to another PC , same err

My mistake  , the build.setting file was missing s in build.settings :slight_smile:

now every thing is back to normal

Is there a reason why you are performing ads.init multiple times? This can cause various problems to occur. This should only be performed once at the start of the application.

Thanks reedhos , i change the ads.init to be only in the splash screen , but i still same err

i dont know whats going on really

i crate one simple project to build with corona with admob plugin

the main

local composer = require( "composer" ) local scene = composer.newScene() ads = require( "ads" ) local options = { effect = "fade", time = 1000, } adProvider = "admob" ads.init( adProvider, "ca-app-pub-xx/xxx") ads.init( adProvider, "ca-app-pub-xx/xxx" ) local centerX = display.contentCenterX local centerY = display.contentCenterY local screenLeft = display.screenOriginX local screenWidth = display.contentWidth - screenLeft \* 2 local screenRight = screenLeft + screenWidth local screenTop = display.screenOriginY local screenHeight = display.contentHeight - screenTop \* 2 local screenBottom = screenTop + screenHeight display.setStatusBar(display.HiddenStatusBar) bannerAppID = "ca-app-pub-xx/xxx" --for your Android banner interstitialAppID = "ca-app-pub-xx/xxx" --for your Android interstitial local adProvider = "admob" ads.init( adProvider, "ca-app-pub-xx/xxx", ) ads.show( "banner", { x=0, y=100000 } ) if ( ads.isLoaded("interstitial") ) then ads.show( "interstitial", { appId=interstitialAppID } ) end

Build

settings = { orientation = { -- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight default = "portrait", supported = { "portrait", } }, excludeFiles = { -- Include only the necessary icon files on each platform iphone = { "Icon-\*dpi.png", }, android = { "Icon.png", "Icon-Small-\*.png", "Icon\*@2x.png", }, }, plugins = { ["plugin.google.play.services"] = { publisherId = "com.coronalabs" }, }, android = { usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.READ\_PHONE\_STATE", "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission.VIBRATE", }, }, },

config

application = { content = { width = 320, height = 480, scale = "letterBox", fps = 60, --[[imageSuffix = { ["@2x"] = 2, }, --]] }, --[[-- Push notifications notification = { iphone = { types = { "badge", "sound", "alert", "newsstand" } } }, --]] }

only these 3 files and same err

so whats going on ?

i also reinstall corona . and also moved to another PC , same err

My mistake  , the build.setting file was missing s in build.settings :slight_smile:

now every thing is back to normal