Cannot use REVMOB - Require fails

I’m trying to integrate revmob but as the title says I can’t get require to work. 

In build.settings i have

["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true, ["android-kindle"]=true } }, ["plugin.revmob"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true } },

And require

ads = require("plugin.revmob")

On device (target store amazon) the following error is received when app is started

10-07 15:26:07.440 12264 12277 V Corona : \> Class.forName: plugin.revmob.LuaLoader 10-07 15:26:07.440 12264 12277 I Corona : WARNING: Could not load 'plugin.revmob.LuaLoader' 10-07 15:26:07.442 12264 12277 W System.err: at com.ansca.corona.NativeToJavaBridge.callLoadClass(NativeToJavaBridge.java:316) 10-07 15:26:07.442 12264 12277 W System.err: at com.ansca.corona.JavaToNativeShim.nativeResize(Native Method) 10-07 15:26:07.442 12264 12277 W System.err: at com.ansca.corona.JavaToNativeShim.resize(JavaToNativeShim.java:381) 10-07 15:26:07.443 12264 12277 W System.err: at com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onSurfaceChanged(CoronaGLSurfaceView.java:378) 10-07 15:26:07.444 12264 12277 W System.err: at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1612) 10-07 15:26:07.445 12264 12277 W System.err: at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1378) 10-07 15:26:07.452 12264 12277 I Corona : ERROR: Runtime error 10-07 15:26:07.452 12264 12277 I Corona : /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:853: module 'plugin.revmob' not found:resource (plugin.revmob.lu) does not exist in archive 10-07 15:26:07.452 12264 12277 I Corona : no field package.preload['plugin.revmob'] 10-07 15:26:07.452 12264 12277 I Corona : no file '(null)/plugin/revmob.lua' 10-07 15:26:07.452 12264 12277 I Corona : no file '(null)/plugin/revmob.lua' 10-07 15:26:07.452 12264 12277 I Corona : no file '/data/app/com.kavrakids.Monster\_Memory-2/lib/arm/libplugin/revmob.so' 10-07 15:26:07.452 12264 12277 I Corona : no file './plugin/revmob.so' 10-07 15:26:07.452 12264 12277 I Corona : no file '(null)/plugin/revmob.so' 10-07 15:26:07.452 12264 12277 I Corona : no file '/data/app/com.kavrakids.Monster\_Memory-2/lib/arm/libplugin.so' 10-07 15:26:07.452 12264 12277 I Corona : no file './plugin.so' 10-07 15:26:07.452 12264 12277 I Corona : no file '(null)/plugin.so' 10-07 15:26:07.452 12264 12277 I Corona : no file '/data/app/com.kavrakids.Monster\_Memory-2/lib/arm/libplugin.revmob.so' 10-07 15:26:07.452 12264 12277 I Corona : no file './plugin.revmob.so' 10-07 15:26:07.452 12264 12277 I Corona : no file '(null)/plugin.revmob.so' 10-07 15:26:07.452 12264 12277 I Corona : stack traceback: 10-07 15:26:07.452 12264 12277 I Corona : [C]: in function 'require' 10-07 15:26:07.452 12264 12277 I Corona : /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:853: in function 'require' 10-07 15:26:07.452 12264 12277 I Corona : /Users/joakim/Documents/code/corona/AppsBuilds/MonsterMemory/lib/ads/ads.lua:662: in function 'init' 10-07 15:26:07.452 12264 12277 I Corona : /Users/joakim/Documents/code/co

Does anyone else see this? Or what am I doing wrong?

Corona version 2016.2966

It works when building for Google play though…  :wacko:

You see the “supportedPlatforms” line in the build.settings? You’re including the Google Play library on Amazon, but you’re not including RebMob for Amazon.

You probably could just leave the supportedPlatforms line out.

Rob

It was an oversight to not add android-kindle, but it should not be related to this issue. At least according to this page, https://docs.coronalabs.com/guide/distribution/buildSettings/index.html#plugins, android = true is " all Android devices" which means it should work in my case. I’m using an Nexus 5X. 

It actually did work by adding android-kindle. If that is intended, please fix the documentation.

It works when building for Google play though…  :wacko:

You see the “supportedPlatforms” line in the build.settings? You’re including the Google Play library on Amazon, but you’re not including RebMob for Amazon.

You probably could just leave the supportedPlatforms line out.

Rob

It was an oversight to not add android-kindle, but it should not be related to this issue. At least according to this page, https://docs.coronalabs.com/guide/distribution/buildSettings/index.html#plugins, android = true is " all Android devices" which means it should work in my case. I’m using an Nexus 5X. 

It actually did work by adding android-kindle. If that is intended, please fix the documentation.