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