Error when downloading plugin

I’m getting an error when downloading admob plugin.

I’m getting the same error while downloading the inneractive ads plugin:

Runtime error &nbsp;&nbsp;&nbsp;&nbsp;?:0: attempt to index field 'platforms' (a nil value) stack traceback: &nbsp;&nbsp;&nbsp;&nbsp;[C]: ? &nbsp;&nbsp;&nbsp;&nbsp;?: in function 'findOrDownloadPlugin' &nbsp;&nbsp;&nbsp;&nbsp;?: in function \<?:399\> Runtime error: ?:0: attempt to index field 'platforms' (a nil value) stack traceback: &nbsp;&nbsp;&nbsp;&nbsp;[C]: ? &nbsp;&nbsp;&nbsp;&nbsp;?: in function 'findOrDownloadPlugin' &nbsp;&nbsp;&nbsp;&nbsp;?: in function \<?:399\> &nbsp;

I my case, this is on Mac OS X. I didn’t have any problems a few weeks ago, with the iAds plugin.

​How to fix this? Can I download a plugin manually?

I also get the same error, if I try to run the Sample app in “/Applications/CoronaSDK/SampleCode/Ads/inneractive”

build 2013.1150 is working :slight_smile:

Hi 

   I was able to recive admob ads in corona for android but on ios its not showing us any ads of interstitial from admob. Its saying error in loading ad But we are able to receive banner ads from the admob. Please help us  in getting the interstitial ads for ios & ipad 

I’m not sure, but when you are adding a new app in admob, you should choose IPad App. And then use publisherID in your code.

ads.init( "admob", "publisherID", adListener )

I’m still getting the same error, while downloading the inneractive ads plugin. What’s wrong?

Hi

   We used the correct id and we are able to see the banner ads in iphone and ipad . But unable to see the interstitial ads in iphone and ipad .Can Any tell me how to enable the testing mode for the admob ads in the iphone to test.

 Thanks in advance

ok, I was testing interstitial ads in iOS too.

Xcode iPhone simulator    -    “ERROR: ads.show() [Admob] interstitial ads are only available on iPad.”

Xcode iPad simulator        -     “The ad loaded successfully”

in my case interstitial ads working on iPad. Corona sdk build 2013.1150

if system.getInfo( "platformName" ) == "iPhone OS" then local ads = require "ads" local function adListener( event ) local msg = event.response print(msg) if event.isError then end end --ipad if system.getInfo("model")=="iPad" or system.getInfo("model")=="iPad Simulator" then ads.init( "admob", "publisherID for iPad", adListener ) end --iphone if system.getInfo("model")=="iPhone" or system.getInfo("model")=="iPhone Simulator" then ads.init( "admob", "publisherID for iPhone", adListener ) end ads.show( "interstitial", { x=0, y=0 } ) end

Why don’t you start a separate thread for your problem? This thread is about plugins not getting loaded to the simulator.

I’ve just tried it again, this time on a Windows machine, and I get the same error. Have tried the inMobi sample app, as well as the inneractive sample app.

Does this plugin error affect only the public build 2013.1137? I really don’t like using daily builds…

Tried the 2013.1150 build. It doesn’t throw an error  But still, it tries to download the plugin every time I run the innerative sample app. Come on Corona Team, fix this!!! I’ve already submitted a bug report and a support request.

I tested the inneractive plugin on 2013.1153 and cannot reproduce your issue. The plugin downloaded on the first run of the sample app, and didn’t prompt to download again in subsequent runs.

Can you try again on 2013.1153 and let us know?

Thanks

Yes, the latest 2013.1153 build does not have any problems with plugins. It downloads it just once.

So the problem seems to be in the “stable” public build 2013.1137. I think that the previous public build 2013.1135 worked fine.

Working with daily builds can be risky, I try to avoid them if posible. You guys should release a new public build to fix this…

I have the same problem - public build 2013.1137 - with iAds. Please help…

It seems that a lot (or maybe all) plugins are broken the public release 2013.1137.

There was a change made that broke ad provider plugins for the public release (1137) and daily builds up to 1149. We are working on a fix and hope to get it working ASAP. Sorry for the inconvenience. 

An update was made to restore plugin functionality.

This update is on public release too?If yes do i have to download it again?

This update is on public release too?If yes do i have to download it again?

ty :smiley: