Applovin plugin

Hi,

Very excited about the new Applovin plugin… but it wont work for me.

I’ve included the relevant stuff in build.settings. But the app crashes everytime I call the scene where the applovin plugin is included.

All I get is a this:

Runtime error

module ‘plugin_applovin’ not found:

        no field package.preload[‘plugin_applovin’]

        no file ‘C:\Users\Rob\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\plugin_applovin.lua’

        no file ‘C:\Users\Rob\Dropbox\DEV\Laserbreak\ANDROID\Laserbreak 2.04\code\plugin_applovin.lua’

        no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\Resources\plugin_applovin.lua’

        no file ‘.\plugin_applovin.lua’

        no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\lua\plugin_applovin.lua’

        no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\lua\plugin_applovin\init.lua’

        no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_applovin.lua’

        no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_applovin\init.lua’

        no file ‘C:\Program Files (x86)\Lua\5.1\lua\plugin_applovin.luac’

        no file ‘C:\Users\Rob\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\plugin_applovin.dll’

        no file ‘.\plugin_applovin.dll’

        no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\Resources\plugin_applovin.dll’

        no file ‘.\plugin_applovin.dll’

        no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_applovin.dll’

        no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\loadall.dll’

        no file ‘C:\Users\Rob\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\plugin_applovin.dll’

        no file ‘.\plugin_applovin.dll’

        no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\Resources\plugin_applovin.dll’

        no file ‘.\plugin_applovin.dll’

        no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_applovin.dll’

        no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\loadall.dll’

stack traceback:

        [C]: in function ‘error’

        ?: in function ‘gotoScene’

        C:\Users\Rob\Dropbox\DEV\Laserbreak\ANDROID\Laserbreak 2.04\code\splash.lua:36: in function <C:\Users\Rob\Dropbox\DEV\Laserbreak\ANDROID\Laserbreak 2.04\code\splash.lua:29>

        ?: in function <?:205>

I using build v2015.2777 and my build.setting as as follows:

[lua]

settings = {

    orientation =

    {

        default = “landscapeRight”,

        supported =

        {

            “landscapeLeft”, “landscapeRight”

        },

    },

    plugins =

    {

        [“plugin.applovin”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { iphone=true, android=true, osx=true, [“win32-sim”]=true }

        },

        [“plugin.google.play.services”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { android=true }

        },

        [“plugin.gameanalytics”] =

        {

            publisherId = “com.gameanalytics”,

        },

        [“plugin.google.iap.v3”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { android=true }

        },

    },

    android =

    {

        versionCode = “204”,

        usesPermissions =

        {

            “com.android.vending.BILLING”,

            “android.permission.INTERNET”,

            “android.permission.VIBRATE”,

            “android.permission.ACCESS_NETWORK_STATE”,

            “com.android.vending.CHECK_LICENSE”,

        },

    }

}

[/lua]

Im trying this out as an alternative to admob which has been working well for over a year now.

What am I missing?

Any help much appreciated.

Thanks

Rob C

I’m looking into this Rob, cheers

EDIT: Rob, if you remove the “supportedPlatforms” table, it grabs the plugin stub as expected.

I’m still investigating why it’s failing to find the stub with the supportedPlatforms table supplied on Windows however.

I’ll keep you posted

EDIT2:

Seems like the supportedPlatforms key for windows sim has changed. It’s now “win32”.

So:

supportedPlatforms = { &nbsp; &nbsp; iphone = true, &nbsp; &nbsp; ["iphone-sim"] = true, &nbsp; &nbsp; android = true, &nbsp; &nbsp; osx = true, &nbsp; &nbsp; win32 = true, },

Thanks so much for this Danny.

I now runs without crashing.

Best Regards

Rob

You’re most welcome Rob. Sorry about the scare!

I’m looking into this Rob, cheers

EDIT: Rob, if you remove the “supportedPlatforms” table, it grabs the plugin stub as expected.

I’m still investigating why it’s failing to find the stub with the supportedPlatforms table supplied on Windows however.

I’ll keep you posted

EDIT2:

Seems like the supportedPlatforms key for windows sim has changed. It’s now “win32”.

So:

supportedPlatforms = { &nbsp; &nbsp; iphone = true, &nbsp; &nbsp; ["iphone-sim"] = true, &nbsp; &nbsp; android = true, &nbsp; &nbsp; osx = true, &nbsp; &nbsp; win32 = true, },

Thanks so much for this Danny.

I now runs without crashing.

Best Regards

Rob

You’re most welcome Rob. Sorry about the scare!