I’ve got my corona app built, signed, and deployed to my android device using corona enterprise.
However, there are some issues:
-
The app icon is a standard green android icon, not the app icons I have specified.
-
The orientation of my app is set to landscape only in my build.settings file, but the app is locked in to a portrait orientation when I run it on the device. I am using the AndroidManifest.xml file copied from the ProjectTemplate, and I see in there that it specifies the app to have a portrait view, but I thought the corona build.settings file was supposed to overwrite and specify those parameters?
-
I use the admob-v2 plugin and the vungle ads plugin. However, the app crashes when I call ads.init with the following errors:
V/Corona ( 3916): > Class.forName: CoronaProvider.ads.admob.LuaLoader V/Corona ( 3916): WARNING: Could not load ‘LuaLoader’ W/System.err( 3916): java.lang.ClassNotFoundException: CoronaProvider.ads.admob.LuaLoader W/System.err( 3916): at java.lang.Class.classForName(Native Method) W/System.err( 3916): at java.lang.Class.forName(Class.java:217) W/System.err( 3916): at java.lang.Class.forName(Class.java:172) W/System.err( 3916): at com.ansca.corona.NativeToJavaBridge.callLoadClass(NativeToJavaBridge.java:310) W/System.err( 3916): at com.ansca.corona.JavaToNativeShim.nativeResize(Native Method) W/System.err( 3916): at com.ansca.corona.JavaToNativeShim.resize(JavaToNativeShim.java:372) W/System.err( 3916): at com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onSurfaceChanged(CoronaGLSurfaceView.java:374) W/System.err( 3916): at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1611) W/System.err( 3916): at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1377) W/System.err( 3916): Caused by: java.lang.NoClassDefFoundError: CoronaProvider/ads/admob/LuaLoader W/System.err( 3916): … 9 more W/System.err( 3916): Caused by: java.lang.ClassNotFoundException: Didn’t find class “CoronaProvider.ads.admob.LuaLoader” on path: /data/app/com.spacewolf.games.unscramble.free-1.apk W/System.err( 3916): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65) W/System.err( 3916): at java.lang.ClassLoader.loadClass(ClassLoader.java:501) W/System.err( 3916): at java.lang.ClassLoader.loadClass(ClassLoader.java:461) W/System.err( 3916): … 9 more I/Corona ( 3916): Runtime error I/Corona ( 3916): /Users/jenkins/slaveroot/workspace/Enterprise/OS/ios-8.0/release/trial/librtt/Corona/CoronaLibrary.lua:94: ERROR: Could not load provider (admob) due to the following reason: /Users/jenkins/slaveroot/workspace/Enterprise/OS/ios-8.0/release/trial/platform/resources/init.lua:820: module ‘CoronaProvider.ads.admob’ not found:resource (CoronaProvider.ads.admob.lu) does not exist in archive I/Corona ( 3916): no field package.preload[‘CoronaProvider.ads.admob’] I/Corona ( 3916): no file ‘(null)/CoronaProvider.ads.admob.lua’ I/Corona ( 3916): no file ‘(null)/CoronaProvider.ads.admob.lua’ I/Corona ( 3916): no file ‘/data/app-lib/com.spacewolf.games.unscramble.free-1/libCoronaProvider.ads.admob.so’ I/Corona ( 3916): no file ‘./CoronaProvider.ads.admob.so’ I/Corona ( 3916): no file ‘(null)/CoronaProvider.ads.admob.so’ I/Corona ( 3916): no file ‘/data/app-lib/com.spacewolf.games.unscramble.free-1/libCoronaProvider.so’ I/Corona ( 3916): no file ‘./CoronaProvider.so’ I/Corona ( 3916): no file ‘(null)/CoronaProvider.so’. I/Corona ( 3916): stack traceback: I/Corona ( 3916): [C]: in function ‘assert’ I/Corona ( 3916): /Users/jenkins/slaveroot/workspace/Enterprise/OS/ios-8.0/release/trial/librtt/Corona/CoronaLibr
Anxiously awaiting responses and thanks in advance!