Corona SDK 2014.2393 (Enterprise)
Android 4.4.4 (Google Nexus 7)
I’m getting a crash when trying to implement Vungle on Android.
I must be missing something simple, but I’ve been staring at this for a while and have no clue.
I’ve got the following config for Vungle in my manifest, and I’ve linked all jars, but I still get a crash.
<activity android:name=“com.vungle.publisher.FullScreenAdActivity”
android:configChanges=“keyboardHidden|orientation|screenSize”
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"/>
<service android:name=“com.vungle.publisher.VungleService”
android:exported=“false”/>
Here’s the output from logcat:
V/Corona (19722): > Class.forName: CoronaProvider.ads.vungle.LuaLoader
V/Corona (19722): < Class.forName: CoronaProvider.ads.vungle.LuaLoader
V/Corona (19722): Loading via reflection: CoronaProvider.ads.vungle.LuaLoader
W/dalvikvm(19722): Unable to resolve superclass of Lcom/vungle/publisher/FullScreenAdActivity; (294)
W/dalvikvm(19722): Link of class ‘Lcom/vungle/publisher/FullScreenAdActivity;’ failed
E/dalvikvm(19722): Could not find class ‘com.vungle.publisher.FullScreenAdActivity’, referenced from method com.vungle.publisher.inject.ConfigurablePublisherModule$$ModuleAdapter$ProvideFullScreenAdActivityClassProvidesAdapter.get
W/dalvikvm(19722): VFY: unable to resolve const-class 3164 (Lcom/vungle/publisher/FullScreenAdActivity;) in Lcom/vungle/publisher/inject/ConfigurablePublisherModule$$ModuleAdapter$ProvideFullScreenAdActivityClassProvidesAdapter;
W/System.err(19722): com.naef.jnlua.LuaRuntimeException: java.lang.NoClassDefFoundError: com.vungle.publisher.FullScreenAdActivity
W/System.err(19722): Java Stack Trace:
W/System.err(19722): com.vungle.publisher.inject.ConfigurablePublisherModule$$ModuleAdapter$ProvideFullScreenAdActivityClassProvidesAdapter.get(vungle:488)
W/System.err(19722): com.vungle.publisher.inject.ConfigurablePublisherModule$$ModuleAdapter$ProvideFullScreenAdActivityClassProvidesAdapter.get(vungle:472)
W/System.err(19722): com.vungle.publisher.dh.injectMembers(vungle:120)
W/System.err(19722): com.vungle.publisher.cs$a.a(vungle:281)
W/System.err(19722): com.vungle.publisher.VunglePubBase.init(vungle:119)
W/System.err(19722): com.vungle.publisher.VunglePub.init(vungle:45)
W/System.err(19722): CoronaProvider.ads.vungle.LuaLoader.init(LuaLoader.java:160)
W/System.err(19722): CoronaProvider.ads.vungle.LuaLoader$InitWrapper.invoke(LuaLoader.java:129)
W/System.err(19722): com.naef.jnlua.LuaState.lua_pcall(Native Method)
W/System.err(19722): com.naef.jnlua.LuaState.call(Unknown Source)
W/System.err(19722): com.ansca.corona.CoronaLua.dispatchEvent(CoronaLua.java:100)
W/System.err(19722): network.NetworkRequest$LuaCallback$1.executeUsing(NetworkRequest.java:603)
W/System.err(19722): com.ansca.corona.CoronaRuntimeTaskDispatcher$TaskEvent.Send(CoronaRuntimeTaskDispatcher.java:148)
W/System.err(19722): com.ansca.corona.events.EventManager.sendEvents(EventManager.java:87)
W/System.err(19722): com.ansca.corona.Controller.updateRuntimeState(Controller.java:281)
W/System.err(19722): com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onDrawFrame(CoronaGLSurfaceView.java:417)
W/System.err(19722): com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1622)
W/System.err(19722): com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1377)
W/System.err(19722): at com.naef.jnlua.LuaState.lua_pcall(Native Method)
W/System.err(19722): at com.naef.jnlua.LuaState.call(Unknown Source)
W/System.err(19722): at com.ansca.corona.CoronaLua.dispatchEvent(CoronaLua.java:100)
W/System.err(19722): at network.NetworkRequest$LuaCallback$1.executeUsing(NetworkRequest.java:603)
W/System.err(19722): at com.ansca.corona.CoronaRuntimeTaskDispatcher$TaskEvent.Send(CoronaRuntimeTaskDispatcher.java:148)
W/System.err(19722): at com.ansca.corona.events.EventManager.sendEvents(EventManager.java:87)
W/System.err(19722): at com.ansca.corona.Controller.updateRuntimeState(Controller.java:281)
W/System.err(19722): at com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onDrawFrame(CoronaGLSurfaceView.java:417)
W/System.err(19722): at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1622)
W/System.err(19722): at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1377)
Any clues would be appreciated.