Assuming I can use build 1094 and not 1089?

In the file I was given it says to download build 1089, I already had build 1094 installed though is that okay or do I need build 1089? I can’t get the admob example to work on any of my devices and this is the only difference I can see.

Nevermind I just downgraded to 1089 and the admob sample isn’t working on either build. I keep getting the following

errors in logcat, can anyone point me in the direction of what to do? I see others have admob working it seems so it must be something I’m doing wrong?

V/Corona(7971): \> Class.forName: network.LuaLoader V/Corona(7971): \< Class.forName: network.LuaLoader V/Corona(7971): Loading via reflection: network.LuaLoader V/Corona(7971): \> Class.forName: CoronaProvider.ads.admob.LuaLoader V/Corona(7971): Loading plugins: CoronaProvider.ads.admob.LuaLoader V/Corona(7971): \> classLoader.LoadClass: CoronaProvider.ads.admob.LuaLoader. V/Corona(7971): WARNING: Could not load 'LuaLoader' V/Corona(7971): Could not find class (CoronaProvider.ads.admob.LuaLoader) via reflection: CoronaProvider.ads.admob.LuaLoader V/Corona(7971): or in file (/data/data/com.admob.leetcom/cache/.system/resources/plugins.dex): CoronaProvider.ads.admob.LuaLoader in loader dalvik.system.DexClassLoader@2b07cf80 I/Corona(7971): Runtime error I/Corona(7971): ERROR: Could not load provider (admob) due to the following reason: module 'CoronaProvider.ads.admob' not found:resource (CoronaProvider.ads.admob.lu) does not exist in archive I/Corona(7971): no field package.preload['CoronaProvider.ads.admob'] I/Corona(7971): no file '(null)/CoronaProvider.ads.admob.lua' I/Corona(7971): no file '(null)/CoronaProvider.ads.admob.lua' I/Corona(7971): no file '/data/data/com.admob.leetcom/lib/libCoronaProvider.ads.admob.so' I/Corona(7971): no file './CoronaProvider.ads.admob.so' I/Corona(7971): no file '(null)/CoronaProvider.ads.admob.so' I/Corona(7971): no file '/data/data/com.admob.leetcom/lib/libCoronaProvider.so' I/Corona(7971): no file './CoronaProvider.so' I/Corona(7971): no file '(null)/CoronaProvider.so'. I/Corona(7971): stack traceback: I/Corona(7971): [C]: ? I/Corona(7971): [C]: in function 'assert' I/Corona(7971): ?: in function 'requireProvider' I/Corona(7971): ?: in function 'setCurrentProvider' I/Corona(7971): ?: in function 'init' I/Corona(7971): ?: in main chunk

It looks like the plugin doesn’t even get bundled in — does your build.settings contain a “plugins” section like in the following?

settings = { &nbsp;&nbsp;&nbsp;&nbsp;orientation = &nbsp;&nbsp;&nbsp;&nbsp;{ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default = "portrait", &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;supported = { "portrait","landscapeLeft" } &nbsp;&nbsp;&nbsp;&nbsp;}, &nbsp;&nbsp;&nbsp;&nbsp;iphone = &nbsp;&nbsp;&nbsp;&nbsp;{ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;plist = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CFBundleIconFile = "Icon.png", &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CFBundleIconFiles = { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Icon.png",&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Icon@2x.png",&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Icon-72.png",&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}, &nbsp;&nbsp;&nbsp;&nbsp;}, &nbsp;&nbsp;&nbsp;&nbsp;plugins = &nbsp;&nbsp;&nbsp;&nbsp;{ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-- key is the name passed to Lua's 'require()' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;["CoronaProvider.ads.admob"] = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-- required &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;publisherId = "com.coronalabs", &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}, &nbsp;&nbsp;&nbsp;&nbsp;},&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;

And yes, you can use the latest 1095.

This is my complete build.settings

-- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight settings = { &nbsp;&nbsp;&nbsp; plugins = { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ["CoronaProvider.ads.admob"] = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- required &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; publisherId = "com.coronalabs", &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }, &nbsp;&nbsp;&nbsp; }, &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;orientation = { &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;default = "landscapeRight", &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;supported = { "landscapeRight", "landscapeRight", } &nbsp;&nbsp; &nbsp;}, &nbsp;&nbsp; &nbsp;iphone = { &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;plist = { &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;UIStatusBarHidden = false, &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;UIPrerenderedIcon = true, -- set to false for "shine" overlay &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;--UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;} &nbsp;&nbsp; &nbsp;}, &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;-- Android permissions &nbsp;&nbsp; &nbsp;androidPermissions = { &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"android.permission.INTERNET", &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"com.android.vending.BILLING", &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"android.permission.INTERNET", &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"android.permission.ACCESS\_WIFI\_STATE", &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"android.permission.READ\_PHONE\_STATE", &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"android.permission.ACCESS\_NETWORK\_STATE", &nbsp; &nbsp;&nbsp; &nbsp;}, }

Can someone confirm that my build.settings file looks correct? I still can’t get admob loading without it crashing my app =/

Woohoo! I just installed the latest build and everything is working fine now. I didn’t change any code or anything, just installed it, built it and boom it worked.

Glad you resolved it. I was just about to say, try the latest build :slight_smile:

Is there anyway to resize an admob ad? On all my other non corona apps that use admob if the ad wont stretch full screen. It will keep it’s dimensions and stay at that. With corona the ad is stretching the full screen and it’s really thin. The CTR on the banner will be super low.

Nevermind I just downgraded to 1089 and the admob sample isn’t working on either build. I keep getting the following

errors in logcat, can anyone point me in the direction of what to do? I see others have admob working it seems so it must be something I’m doing wrong?

V/Corona(7971): \> Class.forName: network.LuaLoader V/Corona(7971): \< Class.forName: network.LuaLoader V/Corona(7971): Loading via reflection: network.LuaLoader V/Corona(7971): \> Class.forName: CoronaProvider.ads.admob.LuaLoader V/Corona(7971): Loading plugins: CoronaProvider.ads.admob.LuaLoader V/Corona(7971): \> classLoader.LoadClass: CoronaProvider.ads.admob.LuaLoader. V/Corona(7971): WARNING: Could not load 'LuaLoader' V/Corona(7971): Could not find class (CoronaProvider.ads.admob.LuaLoader) via reflection: CoronaProvider.ads.admob.LuaLoader V/Corona(7971): or in file (/data/data/com.admob.leetcom/cache/.system/resources/plugins.dex): CoronaProvider.ads.admob.LuaLoader in loader dalvik.system.DexClassLoader@2b07cf80 I/Corona(7971): Runtime error I/Corona(7971): ERROR: Could not load provider (admob) due to the following reason: module 'CoronaProvider.ads.admob' not found:resource (CoronaProvider.ads.admob.lu) does not exist in archive I/Corona(7971): no field package.preload['CoronaProvider.ads.admob'] I/Corona(7971): no file '(null)/CoronaProvider.ads.admob.lua' I/Corona(7971): no file '(null)/CoronaProvider.ads.admob.lua' I/Corona(7971): no file '/data/data/com.admob.leetcom/lib/libCoronaProvider.ads.admob.so' I/Corona(7971): no file './CoronaProvider.ads.admob.so' I/Corona(7971): no file '(null)/CoronaProvider.ads.admob.so' I/Corona(7971): no file '/data/data/com.admob.leetcom/lib/libCoronaProvider.so' I/Corona(7971): no file './CoronaProvider.so' I/Corona(7971): no file '(null)/CoronaProvider.so'. I/Corona(7971): stack traceback: I/Corona(7971): [C]: ? I/Corona(7971): [C]: in function 'assert' I/Corona(7971): ?: in function 'requireProvider' I/Corona(7971): ?: in function 'setCurrentProvider' I/Corona(7971): ?: in function 'init' I/Corona(7971): ?: in main chunk

It looks like the plugin doesn’t even get bundled in — does your build.settings contain a “plugins” section like in the following?

settings = { &nbsp;&nbsp;&nbsp;&nbsp;orientation = &nbsp;&nbsp;&nbsp;&nbsp;{ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default = "portrait", &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;supported = { "portrait","landscapeLeft" } &nbsp;&nbsp;&nbsp;&nbsp;}, &nbsp;&nbsp;&nbsp;&nbsp;iphone = &nbsp;&nbsp;&nbsp;&nbsp;{ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;plist = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CFBundleIconFile = "Icon.png", &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CFBundleIconFiles = { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Icon.png",&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Icon@2x.png",&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Icon-72.png",&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}, &nbsp;&nbsp;&nbsp;&nbsp;}, &nbsp;&nbsp;&nbsp;&nbsp;plugins = &nbsp;&nbsp;&nbsp;&nbsp;{ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-- key is the name passed to Lua's 'require()' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;["CoronaProvider.ads.admob"] = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-- required &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;publisherId = "com.coronalabs", &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}, &nbsp;&nbsp;&nbsp;&nbsp;},&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;

And yes, you can use the latest 1095.

This is my complete build.settings

-- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight settings = { &nbsp;&nbsp;&nbsp; plugins = { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ["CoronaProvider.ads.admob"] = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- required &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; publisherId = "com.coronalabs", &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }, &nbsp;&nbsp;&nbsp; }, &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;orientation = { &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;default = "landscapeRight", &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;supported = { "landscapeRight", "landscapeRight", } &nbsp;&nbsp; &nbsp;}, &nbsp;&nbsp; &nbsp;iphone = { &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;plist = { &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;UIStatusBarHidden = false, &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;UIPrerenderedIcon = true, -- set to false for "shine" overlay &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;--UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;} &nbsp;&nbsp; &nbsp;}, &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;-- Android permissions &nbsp;&nbsp; &nbsp;androidPermissions = { &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"android.permission.INTERNET", &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"com.android.vending.BILLING", &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"android.permission.INTERNET", &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"android.permission.ACCESS\_WIFI\_STATE", &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"android.permission.READ\_PHONE\_STATE", &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;"android.permission.ACCESS\_NETWORK\_STATE", &nbsp; &nbsp;&nbsp; &nbsp;}, }

Can someone confirm that my build.settings file looks correct? I still can’t get admob loading without it crashing my app =/

Woohoo! I just installed the latest build and everything is working fine now. I didn’t change any code or anything, just installed it, built it and boom it worked.

Glad you resolved it. I was just about to say, try the latest build :slight_smile:

Is there anyway to resize an admob ad? On all my other non corona apps that use admob if the ad wont stretch full screen. It will keep it’s dimensions and stay at that. With corona the ad is stretching the full screen and it’s really thin. The CTR on the banner will be super low.