Problem implementing AppLovin

Hi All, I’m not to sure on the etiquette for going about this but I’ve tried using AppLovin but have come up the this error message “module ‘plugin_applovin’ not found”.  More specificaly I get this whenever I put local applovin = require( “plugin.applovin” );

/storyboard.lua:1642: module 'plugin\_applovin' not found:no field package.preload['plugin\_applovin'] no file '/Users/liamyoung/Library/Application Support/Corona/Simulator/Plugins/plugin\_applovin.lua' no file '/Users/liamyoung/Desktop/Water Jetter Game/Water Jetters/plugin\_applovin.lua' no file '/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/plugin\_applovin.lua' no file '/Users/liamyoung/Library/Application Support/Corona/Simulator/Plugins/plugin\_applovin.dylib' no file './plugin\_applovin.dylib' no file '/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/plugin\_applovin.dylib' stack traceback: [C]: in function 'error' /Users/liamyoung/Desktop/Water Jetter Game/Water Jetters/storyboard.lua:1642: in function 'gotoScene' /Users/liamyoung/Desktop/Water Jetter Game/Water Jetters/secondLogo.lua:31: in function '\_listener' ?: in function \<?:167\> ?: in function \<?:221\>

I’ve followed the simple implementation instructions on corona, I’ve check the Key is correct and I believe I have signed up correctly to applovin, i.e I’ve answered all the questions but to me on sign up. I’m at a loss to the cause. I even tried using the example from github to make sure my implementation of the plugin was correct and as soon as I entered the idk key into that example program it again gave a similar message. Here the build code for my app just in case but as mentioned it did a similar thing with the sample program which I would assume worked correctly:

settings = { orientation = { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; default = "landscapeRight", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; content = "landscapeRight", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; supported = { "landscapeRight", "landscapeLeft" }, }, plugins =&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ["plugin.google.play.services"] = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &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; supportedPlatforms = { android=true } &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }, ["CoronaProvider.gameNetwork.google"] = { publisherId = "com.coronalabs", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; supportedPlatforms = { android = true }, }, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ["plugin.facebook.v4"] = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &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; &nbsp; &nbsp; &nbsp; -- @schroederapps' Twitter plugin: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ["plugin.twitter"] = { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; publisherId = "com.jasonschroeder", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ["plugin.applovin"] = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &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; supportedPlatforms = { iphone=true, android=true, appletvos=true } &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },&nbsp; android = { googlePlayGamesAppId = "&nbsp;XXXXXXXXX", &nbsp;--insert your app id number for google game services &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; versionCode = 10, usesPermissions = { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "android.permission.VIBRATE", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.READ\_PHONE\_STATE",&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "android.permission.WRITE\_EXTERNAL\_STORAGE" &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --"com.android.vending.CHECK\_LICENSE", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --"com.android.vending.BILLING" }, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; facebookAppId = "&nbsp;XXXXXXXXX", &nbsp;-- Replace XXXXXXXXXX with your Facebook App ID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; largeHeap = true &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; }, iphone = { plist = { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CFBundleName = "Water Jetters", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png",&nbsp; "Icon@2x.png",&nbsp; "Icon-60.png", "Icon-60@2x.png", "Icon-72.png",&nbsp; "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png",&nbsp; -- "Icon-Small.png",&nbsp; -- "Icon-Small@2x.png", -- "Icon-Small-40.png", -- "Icon-Small-40@2x.png", -- "Icon-Small-50.png",&nbsp; -- "Icon-Small-50@2x.png",&nbsp; }, UIApplicationExitsOnSuspend = false, -- must be false for single sign-on to work FacebookAppID = "&nbsp;XXXXXXXXX", -- replace XXXXXXXXX with your facebook appId CFBundleURLTypes = { { CFBundleURLSchemes = { "&nbsp;XXXXXXXXX", -- replace XXXXXXXXX with your facebook appId, make sure that you leave fb in front of it } } }, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -- Whitelist Facebook Servers for Network Requests &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSAppTransportSecurity =&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; NSExceptionDomains =&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; &nbsp; &nbsp; ["fbcdn.net"] =&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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSIncludesSubdomains = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSExceptionRequiresForwardSecrecy = false, &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; &nbsp; &nbsp; &nbsp; ["facebook.com"] =&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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSIncludesSubdomains = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSExceptionRequiresForwardSecrecy = false, &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; &nbsp; &nbsp; &nbsp; ["akamaihd.net"] =&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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSIncludesSubdomains = true, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSExceptionRequiresForwardSecrecy = false, &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; &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; -- Whitelist Facebook Apps &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LSApplicationQueriesSchemes =&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; "fb", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "fbapi20130214", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "fbapi20130410", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "fbapi20140410", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "fbapi20140116", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "fbapi20150313", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "fbapi20150629", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "fbauth", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "fbauth2", &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "fb-messenger-api20140430", &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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NSAppTransportSecurity = { NSAllowsArbitraryLoads=true }, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } } }

Please can anyone help me with this? I noticed a person mention this problem before in 

“We’re AppLovin your Corona apps”. They were directed to use here but I couldn’t find the topic they posted asking about this problem with the plugin 

Many thanks

Liam

I would suggest you download our sample app from:  https://github.com/coronalabs/plugins-sample-applovin

and try building that and see if you’re having the same issues. Then compare your build.settings and code in your app to the code in the sample app and see where you have differences.

Another suggestion is to clean up your build.settings file. If that’s how it really looks, it’s going to be hard to ever see if you have problems in there. Each level should be indented for ease of reading.

Rob

Hi Rob, Thank you for the help. I re-downloaded the sample app from git hub and re-tested it with my sdk key. I got the same error as before unfortunately.

Here what the error message when trying to use the plugin with sample app:

May 19 02:32:54.865: Version: 3.0.0 May 19 02:32:54.865: Build: 2015.2731 May 19 02:32:54.906: Platform: iPhone / x86\_64 / 10.11.1 / Intel HD Graphics 4000 OpenGL Engine / 2.1 INTEL-10.10.18 / 2015.2731 May 19 02:32:55.515: Loading project from: &nbsp; ~/Desktop/plugins-sample-applovin-master May 19 02:32:55.515: Project sandbox folder: ~/Library/Application Support/Corona Simulator/plugins-sample-applovin-master-F38E663B1BEA24F038C42DBF908360DC May 19 02:32:55.692: Runtime error module 'plugin\_applovin' not found: no field package.preload['plugin\_applovin'] no file '/Users/liamyoung/Library/Application Support/Corona/Simulator/Plugins/plugin\_applovin.lua' no file '/Users/liamyoung/Desktop/plugins-sample-applovin-master/plugin\_applovin.lua' no file '/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/plugin\_applovin.lua' no file '/Users/liamyoung/Library/Application Support/Corona/Simulator/Plugins/plugin\_applovin.dylib' no file './plugin\_applovin.dylib' no file '/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/plugin\_applovin.dylib' stack traceback: [C]: in function 'require' ?: in function 'require' /Users/liamyoung/Desktop/plugins-sample-applovin-master/main.lua:27: in main chunk 2016-05-19 02:33:06.747 Corona Simulator[6707:553364] Corona Simulator: Goodbye

With the build setting it doesn’t look quite as bad as the pasted copy but could do with a clean, it does have proper indentation though but for some reason its not properly shown when I pasted it, sorry for any confusion. With regards to the problem I’m still stumped as neither set up work. Is there any known compatibility problems know with applovin  and new/ older version of corona? I currently build my apps with corona v2015.2731,  iOS 9 and the relevant compatible Xcode and java. I did wonder if for any reason the sdk might not be active but after setting up the initial account the first thing it requesters is that the new user integrates applovin into the user program, which gives me the above error message so I’m stumped unfortunately as to the cause?

Many thanks

Liam

A few more questions.

  1. Are you testing on a device or on the Xcode Simulator?

1a. What device and OS version?

  1. Where are you getting this error? Trying to run in the Simulator? Trying to build for device? Trying to run on device?

Thanks

Rob

Eureka… an Epiphany hit me… I’m guessing you’re getting this error in the simulator before you build or try to run on an app. If that’s the case, comment out the supportedPlatforms line, reload the simulator. The error should go away and then you can, if you need to put the supportedPlatforms line back.

The supportedPlatforms line creates a challenge. It tells Corona “Only download the plugin if you’re building for a platform listed”. The Corona Simulator isn’t in the list, so it never downloads the simulator version of the plugin (which is a non-functional stub that prevents errors, and tells you to test on device). In a later build (perhaps 2830, the last public build and later daily builds) we fixed it so the simulator ignores supportedPlatforms and always downloads the stub.

The purpose of the supportedPlatforms line is to limit which platforms it builds for. For example, if you’re building an Android app, you don’t want Apple’s iAds plugin trying to load and cause errors since it doesn’t exist. So unless you are planning on building for OS X or Windows Desktop, you really don’t need the supportedPlatforms line at all.

Rob

Thanks rob, I just tested it on the sample version and it worked first time. :D  Thank you for the awesome help and support cheers Rob, I would have been there until the end of time trying to figure out where I had gone wrong. Can’t express enough how much of a relief it is having it work. I’ll try implementing it on my program now, it should work fine but will post a update to re-confirm. Cheers Rob.

My pleasure. As an FYI, we are getting ready for our next public release, when that’s out you will be two releases behind. You may want to consider updating at some point.

I would suggest you download our sample app from:  https://github.com/coronalabs/plugins-sample-applovin

and try building that and see if you’re having the same issues. Then compare your build.settings and code in your app to the code in the sample app and see where you have differences.

Another suggestion is to clean up your build.settings file. If that’s how it really looks, it’s going to be hard to ever see if you have problems in there. Each level should be indented for ease of reading.

Rob

Hi Rob, Thank you for the help. I re-downloaded the sample app from git hub and re-tested it with my sdk key. I got the same error as before unfortunately.

Here what the error message when trying to use the plugin with sample app:

May 19 02:32:54.865: Version: 3.0.0 May 19 02:32:54.865: Build: 2015.2731 May 19 02:32:54.906: Platform: iPhone / x86\_64 / 10.11.1 / Intel HD Graphics 4000 OpenGL Engine / 2.1 INTEL-10.10.18 / 2015.2731 May 19 02:32:55.515: Loading project from: &nbsp; ~/Desktop/plugins-sample-applovin-master May 19 02:32:55.515: Project sandbox folder: ~/Library/Application Support/Corona Simulator/plugins-sample-applovin-master-F38E663B1BEA24F038C42DBF908360DC May 19 02:32:55.692: Runtime error module 'plugin\_applovin' not found: no field package.preload['plugin\_applovin'] no file '/Users/liamyoung/Library/Application Support/Corona/Simulator/Plugins/plugin\_applovin.lua' no file '/Users/liamyoung/Desktop/plugins-sample-applovin-master/plugin\_applovin.lua' no file '/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/plugin\_applovin.lua' no file '/Users/liamyoung/Library/Application Support/Corona/Simulator/Plugins/plugin\_applovin.dylib' no file './plugin\_applovin.dylib' no file '/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/plugin\_applovin.dylib' stack traceback: [C]: in function 'require' ?: in function 'require' /Users/liamyoung/Desktop/plugins-sample-applovin-master/main.lua:27: in main chunk 2016-05-19 02:33:06.747 Corona Simulator[6707:553364] Corona Simulator: Goodbye

With the build setting it doesn’t look quite as bad as the pasted copy but could do with a clean, it does have proper indentation though but for some reason its not properly shown when I pasted it, sorry for any confusion. With regards to the problem I’m still stumped as neither set up work. Is there any known compatibility problems know with applovin  and new/ older version of corona? I currently build my apps with corona v2015.2731,  iOS 9 and the relevant compatible Xcode and java. I did wonder if for any reason the sdk might not be active but after setting up the initial account the first thing it requesters is that the new user integrates applovin into the user program, which gives me the above error message so I’m stumped unfortunately as to the cause?

Many thanks

Liam

A few more questions.

  1. Are you testing on a device or on the Xcode Simulator?

1a. What device and OS version?

  1. Where are you getting this error? Trying to run in the Simulator? Trying to build for device? Trying to run on device?

Thanks

Rob

Eureka… an Epiphany hit me… I’m guessing you’re getting this error in the simulator before you build or try to run on an app. If that’s the case, comment out the supportedPlatforms line, reload the simulator. The error should go away and then you can, if you need to put the supportedPlatforms line back.

The supportedPlatforms line creates a challenge. It tells Corona “Only download the plugin if you’re building for a platform listed”. The Corona Simulator isn’t in the list, so it never downloads the simulator version of the plugin (which is a non-functional stub that prevents errors, and tells you to test on device). In a later build (perhaps 2830, the last public build and later daily builds) we fixed it so the simulator ignores supportedPlatforms and always downloads the stub.

The purpose of the supportedPlatforms line is to limit which platforms it builds for. For example, if you’re building an Android app, you don’t want Apple’s iAds plugin trying to load and cause errors since it doesn’t exist. So unless you are planning on building for OS X or Windows Desktop, you really don’t need the supportedPlatforms line at all.

Rob

Thanks rob, I just tested it on the sample version and it worked first time. :D  Thank you for the awesome help and support cheers Rob, I would have been there until the end of time trying to figure out where I had gone wrong. Can’t express enough how much of a relief it is having it work. I’ll try implementing it on my program now, it should work fine but will post a update to re-confirm. Cheers Rob.

My pleasure. As an FYI, we are getting ready for our next public release, when that’s out you will be two releases behind. You may want to consider updating at some point.