Hi all,
I’m trying to add ADV to my game my for sure I’m doing some mistakes…
I have a Basic subscription.
I’ve added the plugin in the build.properties:
plugins =
{
– key is the name passed to Lua’s ‘require()’
[“CoronaProvider.ads.inmobi”] =
{
– required
publisherId = “com.coronalabs”,
},
},
I’m trying to test the example found here: http://github.com/coronalabs/plugins-sample-ads-InMobi/blob/master/main.lua so on my scene I’ve put:
local adNetwork = “inmobi”
local appID = “*************”
local ads = require “ads”
– initialize ad network:
if appID then
ads.init( adNetwork, appID )
end
Create simple build with inmodi. I get an error when running:
Apr 18 12:19:47 iPhone-di-massimiliano kernel[0] <Debug>: launchd[920] Container: /private/var/mobile/Applications/96565305-0D9F-4BE6-AB2F-6717DD23A655 (sandbox)
Apr 18 12:19:47 iPhone-di-massimiliano backboardd[28] <Error>: HID: The ‘Passive’ connection ‘Brainstorm’ access to protected services is denied.
Apr 18 12:19:47 iPhone-di-massimiliano Brainstorm[920] <Warning>: Platform: iPhone / iPhone5,4 / 7.1 / PowerVR SGX 543 / OpenGL ES 2.0 IMGSGX543-97.7
Apr 18 12:19:47 iPhone-di-massimiliano Brainstorm[920] <Warning>: Runtime error
module ‘plugin.inmobi’ not found:resource (plugin.inmobi.lu) does not exist in archive
no field package.preload[‘plugin.inmobi’]
no file ‘/var/mobile/Applications/96565305-0D9F-4BE6-AB2F-6717DD23A655/Brainstorm.app/plugin.inmobi.lua’
no file ‘/var/mobile/Applications/96565305-0D9F-4BE6-AB2F-6717DD23A655/Brainstorm.app/plugin.inmobi.lua’
no file ‘./plugin.inmobi.so’
no file ‘/var/mobile/Applications/96565305-0D9F-4BE6-AB2F-6717DD23A655/Brainstorm.app/plugin.inmobi.so’
no file ‘./plugin.so’
no file '/var/mobile/Applications/96565305-0D9F-4BE6-AB2F-6717DD23A655/Brainstorm.app/plugin.so’plugin.inmobi
stack traceback:
[C]: in function ‘require’
?: in function ‘require’
Can someone help in finding the problem? Thanks
Max