Implementing Corona Enterprise for Android

Hi,

I ve integrated Corona Enterprise to my game with the help of this tutorial “Tutorial: Corona Enterprise Quickstart (Android)” and everything was fine but I need to skip that “Checking wifi state” of the tutorial and run my game normally.

Here is the code added to main.lua. if I remove it then I get a black screen

-----------------------------------ANDROID ENTERPRISE  local myText = display.newText( "Checking", 0, 0, native.systemFontBold, 32 ) myText.x = display.contentCenterX myText.y = display.contentCenterY timer.performWithDelay( 2000, function()    local isEnabled = getWiFi.isWiFiEnabled()    if ( isEnabled ) then       myText.text = "WiFi is enabled"    else       myText.text = "WiFi is not enabled"    end end, 0 ) ----------------------------------ANDROID ENTERPRISE 

Help please,

What messages are in your “adb logcat” console log?

Hi Rob,

Here is all the log of the app. There’s some errors of iOS plugins but I will control if is Android or iOS after.

10-30 09:57:13.858: E/SoundPool(388): error loading /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.858: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.858: E/SoundPool(388): error loading /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.858: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.868: E/SoundPool(388): error loading /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.868: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.868: E/SoundPool(388): error loading /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.868: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.868: E/SoundPool(388): error loading /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.868: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.878: E/SoundPool(388): error loading /system/media/audio/ui/KeypressStandard.ogg 10-30 09:57:13.888: I/ActivityManager(388): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.kbjgames.calvinmakeyourfreethrows/com.ansca.corona.CoronaActivity} from pid 550 10-30 09:57:13.898: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/KeypressStandard.ogg 10-30 09:57:13.938: E/SoundPool(388): error loading /system/media/audio/ui/KeypressSpacebar.ogg 10-30 09:57:13.938: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/KeypressSpacebar.ogg 10-30 09:57:13.948: E/SoundPool(388): error loading /system/media/audio/ui/KeypressDelete.ogg 10-30 09:57:13.948: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/KeypressDelete.ogg 10-30 09:57:13.948: E/SoundPool(388): error loading /system/media/audio/ui/KeypressReturn.ogg 10-30 09:57:13.948: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/KeypressReturn.ogg 10-30 09:57:13.948: E/SoundPool(388): error loading /system/media/audio/ui/KeypressInvalid.ogg 10-30 09:57:13.958: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/KeypressInvalid.ogg 10-30 09:57:13.958: W/AudioService(388): onLoadSoundEffects(), Error -1 while loading samples 10-30 09:57:13.968: E/gralloc\_goldfish(58): gralloc\_alloc: Mismatched usage flags: 328 x 546, usage 333 10-30 09:57:13.968: W/GraphicBufferAllocator(58): alloc(328, 546, 1, 00000333, ...) failed -22 (Invalid argument) 10-30 09:57:13.968: E/(58): GraphicBufferAlloc::createGraphicBuffer(w=328, h=546) failed (Invalid argument), handle=0x0 10-30 09:57:13.978: E/BufferQueue(388): [ScreenshotClient] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed 10-30 09:57:13.988: W/WindowManager(388): Screenshot failure taking screenshot for (328x546) to layer 21005 10-30 09:57:14.308: I/ActivityManager(388): Start proc com.kbjgames.calvinmakeyourfreethrows for activity com.kbjgames.calvinmakeyourfreethrows/com.ansca.corona.CoronaActivity: pid=1116 uid=10067 gids={50067, 3003} 10-30 09:57:14.328: D/dalvikvm(1116): Not late-enabling CheckJNI (already on) 10-30 09:57:14.848: D/dalvikvm(1116): Trying to load lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/liblua.so 0xb1d05a70 10-30 09:57:14.848: W/linker(1116): liblua.so has text relocations. This is wasting memory and is a security risk. Please fix. 10-30 09:57:14.868: D/dalvikvm(1116): Added shared lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/liblua.so 0xb1d05a70 10-30 09:57:14.868: D/dalvikvm(1116): No JNI\_OnLoad found in /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/liblua.so 0xb1d05a70, skipping init 10-30 09:57:14.878: D/dalvikvm(1116): Trying to load lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libjnlua5.1.so 0xb1d05a70 10-30 09:57:14.898: W/linker(1116): libjnlua5.1.so has text relocations. This is wasting memory and is a security risk. Please fix. 10-30 09:57:14.898: D/dalvikvm(1116): Added shared lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libjnlua5.1.so 0xb1d05a70 10-30 09:57:14.948: D/dalvikvm(1116): Trying to load lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libjnlua5.1.so 0xb1d05a70 10-30 09:57:14.948: D/dalvikvm(1116): Shared lib '/data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libjnlua5.1.so' already loaded in same CL 0xb1d05a70 10-30 09:57:14.948: I/dalvikvm(1116): threadid=1: recursive native library load attempt (/data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libjnlua5.1.so) 10-30 09:57:14.968: D/dalvikvm(1116): Trying to load lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libopenal.so 0xb1d05a70 10-30 09:57:15.008: W/linker(1116): libopenal.so has text relocations. This is wasting memory and is a security risk. Please fix. 10-30 09:57:15.008: I/OpenAL\_SLES(1116): alc\_opensles\_init 10-30 09:57:15.008: D/dalvikvm(1116): Added shared lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libopenal.so 0xb1d05a70 10-30 09:57:15.008: D/dalvikvm(1116): Trying to load lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libmpg123.so 0xb1d05a70 10-30 09:57:15.018: W/linker(1116): libmpg123.so has text relocations. This is wasting memory and is a security risk. Please fix. 10-30 09:57:15.018: D/dalvikvm(1116): Added shared lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libmpg123.so 0xb1d05a70 10-30 09:57:15.018: D/dalvikvm(1116): No JNI\_OnLoad found in /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libmpg123.so 0xb1d05a70, skipping init 10-30 09:57:15.018: D/dalvikvm(1116): Trying to load lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libalmixer.so 0xb1d05a70 10-30 09:57:15.018: W/linker(1116): libalmixer.so has text relocations. This is wasting memory and is a security risk. Please fix. 10-30 09:57:15.018: D/dalvikvm(1116): Added shared lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libalmixer.so 0xb1d05a70 10-30 09:57:15.018: D/dalvikvm(1116): No JNI\_OnLoad found in /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libalmixer.so 0xb1d05a70, skipping init 10-30 09:57:15.048: D/dalvikvm(1116): Trying to load lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libcorona.so 0xb1d05a70 10-30 09:57:15.048: W/linker(1116): libcorona.so has text relocations. This is wasting memory and is a security risk. Please fix. 10-30 09:57:15.098: D/dalvikvm(1116): Added shared lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libcorona.so 0xb1d05a70 10-30 09:57:15.588: D/(1116): HostConnection::get() New Host Connection established 0xb7fe9c68, tid 1116 10-30 09:57:15.628: W/EGL\_emulation(1116): eglSurfaceAttrib not implemented 10-30 09:57:15.638: D/OpenGLRenderer(1116): Enabling debug mode 0 10-30 09:57:15.708: D/(1116): HostConnection::get() New Host Connection established 0xb7feeaa8, tid 1130 10-30 09:57:15.808: D/dalvikvm(1116): Note: class Landroid/opengl/GLWrapperBase; has 250 unimplemented (abstract) methods 10-30 09:57:15.948: I/ActivityManager(388): Displayed com.kbjgames.calvinmakeyourfreethrows/com.ansca.corona.CoronaActivity: +1s692ms 10-30 09:57:16.318: V/GLSurfaceView(1116): glGetString(7937) returns Android Emulator OpenGL ES Translator (NVIDIA GeForce GT 650M OpenGL Engine); 10-30 09:57:16.438: D/dalvikvm(1116): GC\_FOR\_ALLOC freed 319K, 12% free 3049K/3432K, paused 29ms, total 32ms 10-30 09:57:16.438: I/dalvikvm-heap(1116): Grow heap (frag case) to 3.228MB for 200340-byte allocation 10-30 09:57:16.468: D/dalvikvm(1116): GC\_FOR\_ALLOC freed \<1K, 11% free 3244K/3628K, paused 24ms, total 24ms 10-30 09:57:16.588: V/Corona(1116): \> Class.forName: network.LuaLoader 10-30 09:57:16.588: V/Corona(1116): \< Class.forName: network.LuaLoader 10-30 09:57:16.588: V/Corona(1116): Loading via reflection: network.LuaLoader 10-30 09:57:16.618: I/Corona(1116): Platform: sdk / ARM Neon / 4.4.2 / Android Emulator OpenGL ES Translator (NVIDIA GeForce GT 650M OpenGL Engine) / OpenGL ES 2.0 (2.1 NVIDIA-10.0.43 310.41.05f01) / 2014.2479 10-30 09:57:16.638: D/dalvikvm(1116): GC\_FOR\_ALLOC freed 236K, 16% free 3075K/3628K, paused 23ms, total 23ms 10-30 09:57:17.008: D/dalvikvm(1116): GC\_FOR\_ALLOC freed 306K, 13% free 3168K/3628K, paused 24ms, total 25ms 10-30 09:57:17.058: I/Corona(1116): model 10-30 09:57:17.058: I/Corona(1116): sdk 10-30 09:57:17.088: W/linker(1116): libgameNetwork.so has text relocations. This is wasting memory and is a security risk. Please fix. 10-30 09:57:17.108: W/linker(1116): libads.so has text relocations. This is wasting memory and is a security risk. Please fix. 10-30 09:57:17.118: V/Corona(1116): \> Class.forName: plugin.cashplay.LuaLoader 10-30 09:57:17.118: V/Corona(1116): WARNING: Could not load 'LuaLoader' 10-30 09:57:17.128: W/System.err(1116): java.lang.ClassNotFoundException: plugin.cashplay.LuaLoader 10-30 09:57:17.128: W/System.err(1116): at java.lang.Class.classForName(Native Method) 10-30 09:57:17.128: W/System.err(1116): at java.lang.Class.forName(Class.java:251) 10-30 09:57:17.128: W/System.err(1116): at java.lang.Class.forName(Class.java:216) 10-30 09:57:17.128: W/System.err(1116): at com.ansca.corona.NativeToJavaBridge.callLoadClass(NativeToJavaBridge.java:310) 10-30 09:57:17.128: W/System.err(1116): at com.ansca.corona.JavaToNativeShim.nativeResize(Native Method) 10-30 09:57:17.128: W/System.err(1116): at com.ansca.corona.JavaToNativeShim.resize(JavaToNativeShim.java:372) 10-30 09:57:17.128: W/System.err(1116): at com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onSurfaceChanged(CoronaGLSurfaceView.java:374) 10-30 09:57:17.128: W/System.err(1116): at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1611) 10-30 09:57:17.128: W/System.err(1116): at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1377) 10-30 09:57:17.128: W/System.err(1116): Caused by: java.lang.NoClassDefFoundError: plugin/cashplay/LuaLoader 10-30 09:57:17.128: W/System.err(1116): ... 9 more 10-30 09:57:17.128: W/System.err(1116): Caused by: java.lang.ClassNotFoundException: Didn't find class "plugin.cashplay.LuaLoader" on path: DexPathList[[zip file "/data/app/com.kbjgames.calvinmakeyourfreethrows-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2, /system/lib]] 10-30 09:57:17.178: W/System.err(1116): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) 10-30 09:57:17.178: W/System.err(1116): at java.lang.ClassLoader.loadClass(ClassLoader.java:497) 10-30 09:57:17.178: W/System.err(1116): at java.lang.ClassLoader.loadClass(ClassLoader.java:457) 10-30 09:57:17.178: W/System.err(1116): ... 9 more 10-30 09:57:17.198: I/Corona(1116): Runtime error 10-30 09:57:17.198: I/Corona(1116): /Users/jenkins/slaveroot/workspace/Enterprise/OS/ios-8.0/release/release/platform/resources/init.lua:820: module 'plugin.cashplay' not found:resource (plugin.cashplay.lu) does not exist in archive 10-30 09:57:17.198: I/Corona(1116): no field package.preload['plugin.cashplay'] 10-30 09:57:17.198: I/Corona(1116): no file '(null)/plugin.cashplay.lua' 10-30 09:57:17.198: I/Corona(1116): no file '(null)/plugin.cashplay.lua' 10-30 09:57:17.198: I/Corona(1116): no file '/data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libplugin.cashplay.so' 10-30 09:57:17.198: I/Corona(1116): no file './plugin.cashplay.so' 10-30 09:57:17.198: I/Corona(1116): no file '(null)/plugin.cashplay.so' 10-30 09:57:17.198: I/Corona(1116): no file '/data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libplugin.so' 10-30 09:57:17.198: I/Corona(1116): no file './plugin.so' 10-30 09:57:17.198: I/Corona(1116): no file '(null)/plugin.so' 10-30 09:57:17.198: I/Corona(1116): stack traceback: 10-30 09:57:17.198: I/Corona(1116): [C]: in function 'require' 10-30 09:57:17.198: I/Corona(1116): /Users/jenkins/slaveroot/workspace/Enterprise/OS/ios-8.0/release/release/platform/resources/init.lua:820: in function 'require' 10-30 09:57:17.198: I/Corona(1116): ?: in main chunk 10-30 09:57:19.118: D/dalvikvm(1116): GC\_FOR\_ALLOC freed 457K, 15% free 3195K/3716K, paused 22ms, total 23ms 10-30 09:57:19.118: I/dalvikvm-heap(1116): Grow heap (frag case) to 3.332MB for 160016-byte allocation 10-30 09:57:19.148: D/dalvikvm(1116): GC\_FOR\_ALLOC freed \<1K, 14% free 3351K/3876K, paused 25ms, total 25ms 10-30 09:59:18.118: D/dalvikvm(1116): GC\_FOR\_ALLOC freed 664K, 19% free 3189K/3928K, paused 23ms, total 23ms 10-30 09:59:28.908: D/dalvikvm(388): GC\_FOR\_ALLOC freed 1079K, 21% free 5993K/7532K, paused 64ms, total 67ms

Its trying to load a plugin called “cashplay”.  I don’t know what this is, but until you get it included in your project it’s going to throw this error. 

Rob

Thanks Rob! Strange but was the problem.

What messages are in your “adb logcat” console log?

Hi Rob,

Here is all the log of the app. There’s some errors of iOS plugins but I will control if is Android or iOS after.

10-30 09:57:13.858: E/SoundPool(388): error loading /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.858: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.858: E/SoundPool(388): error loading /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.858: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.868: E/SoundPool(388): error loading /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.868: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.868: E/SoundPool(388): error loading /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.868: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.868: E/SoundPool(388): error loading /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.868: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/Effect\_Tick.ogg 10-30 09:57:13.878: E/SoundPool(388): error loading /system/media/audio/ui/KeypressStandard.ogg 10-30 09:57:13.888: I/ActivityManager(388): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.kbjgames.calvinmakeyourfreethrows/com.ansca.corona.CoronaActivity} from pid 550 10-30 09:57:13.898: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/KeypressStandard.ogg 10-30 09:57:13.938: E/SoundPool(388): error loading /system/media/audio/ui/KeypressSpacebar.ogg 10-30 09:57:13.938: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/KeypressSpacebar.ogg 10-30 09:57:13.948: E/SoundPool(388): error loading /system/media/audio/ui/KeypressDelete.ogg 10-30 09:57:13.948: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/KeypressDelete.ogg 10-30 09:57:13.948: E/SoundPool(388): error loading /system/media/audio/ui/KeypressReturn.ogg 10-30 09:57:13.948: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/KeypressReturn.ogg 10-30 09:57:13.948: E/SoundPool(388): error loading /system/media/audio/ui/KeypressInvalid.ogg 10-30 09:57:13.958: W/AudioService(388): Soundpool could not load file: /system/media/audio/ui/KeypressInvalid.ogg 10-30 09:57:13.958: W/AudioService(388): onLoadSoundEffects(), Error -1 while loading samples 10-30 09:57:13.968: E/gralloc\_goldfish(58): gralloc\_alloc: Mismatched usage flags: 328 x 546, usage 333 10-30 09:57:13.968: W/GraphicBufferAllocator(58): alloc(328, 546, 1, 00000333, ...) failed -22 (Invalid argument) 10-30 09:57:13.968: E/(58): GraphicBufferAlloc::createGraphicBuffer(w=328, h=546) failed (Invalid argument), handle=0x0 10-30 09:57:13.978: E/BufferQueue(388): [ScreenshotClient] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed 10-30 09:57:13.988: W/WindowManager(388): Screenshot failure taking screenshot for (328x546) to layer 21005 10-30 09:57:14.308: I/ActivityManager(388): Start proc com.kbjgames.calvinmakeyourfreethrows for activity com.kbjgames.calvinmakeyourfreethrows/com.ansca.corona.CoronaActivity: pid=1116 uid=10067 gids={50067, 3003} 10-30 09:57:14.328: D/dalvikvm(1116): Not late-enabling CheckJNI (already on) 10-30 09:57:14.848: D/dalvikvm(1116): Trying to load lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/liblua.so 0xb1d05a70 10-30 09:57:14.848: W/linker(1116): liblua.so has text relocations. This is wasting memory and is a security risk. Please fix. 10-30 09:57:14.868: D/dalvikvm(1116): Added shared lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/liblua.so 0xb1d05a70 10-30 09:57:14.868: D/dalvikvm(1116): No JNI\_OnLoad found in /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/liblua.so 0xb1d05a70, skipping init 10-30 09:57:14.878: D/dalvikvm(1116): Trying to load lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libjnlua5.1.so 0xb1d05a70 10-30 09:57:14.898: W/linker(1116): libjnlua5.1.so has text relocations. This is wasting memory and is a security risk. Please fix. 10-30 09:57:14.898: D/dalvikvm(1116): Added shared lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libjnlua5.1.so 0xb1d05a70 10-30 09:57:14.948: D/dalvikvm(1116): Trying to load lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libjnlua5.1.so 0xb1d05a70 10-30 09:57:14.948: D/dalvikvm(1116): Shared lib '/data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libjnlua5.1.so' already loaded in same CL 0xb1d05a70 10-30 09:57:14.948: I/dalvikvm(1116): threadid=1: recursive native library load attempt (/data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libjnlua5.1.so) 10-30 09:57:14.968: D/dalvikvm(1116): Trying to load lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libopenal.so 0xb1d05a70 10-30 09:57:15.008: W/linker(1116): libopenal.so has text relocations. This is wasting memory and is a security risk. Please fix. 10-30 09:57:15.008: I/OpenAL\_SLES(1116): alc\_opensles\_init 10-30 09:57:15.008: D/dalvikvm(1116): Added shared lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libopenal.so 0xb1d05a70 10-30 09:57:15.008: D/dalvikvm(1116): Trying to load lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libmpg123.so 0xb1d05a70 10-30 09:57:15.018: W/linker(1116): libmpg123.so has text relocations. This is wasting memory and is a security risk. Please fix. 10-30 09:57:15.018: D/dalvikvm(1116): Added shared lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libmpg123.so 0xb1d05a70 10-30 09:57:15.018: D/dalvikvm(1116): No JNI\_OnLoad found in /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libmpg123.so 0xb1d05a70, skipping init 10-30 09:57:15.018: D/dalvikvm(1116): Trying to load lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libalmixer.so 0xb1d05a70 10-30 09:57:15.018: W/linker(1116): libalmixer.so has text relocations. This is wasting memory and is a security risk. Please fix. 10-30 09:57:15.018: D/dalvikvm(1116): Added shared lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libalmixer.so 0xb1d05a70 10-30 09:57:15.018: D/dalvikvm(1116): No JNI\_OnLoad found in /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libalmixer.so 0xb1d05a70, skipping init 10-30 09:57:15.048: D/dalvikvm(1116): Trying to load lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libcorona.so 0xb1d05a70 10-30 09:57:15.048: W/linker(1116): libcorona.so has text relocations. This is wasting memory and is a security risk. Please fix. 10-30 09:57:15.098: D/dalvikvm(1116): Added shared lib /data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libcorona.so 0xb1d05a70 10-30 09:57:15.588: D/(1116): HostConnection::get() New Host Connection established 0xb7fe9c68, tid 1116 10-30 09:57:15.628: W/EGL\_emulation(1116): eglSurfaceAttrib not implemented 10-30 09:57:15.638: D/OpenGLRenderer(1116): Enabling debug mode 0 10-30 09:57:15.708: D/(1116): HostConnection::get() New Host Connection established 0xb7feeaa8, tid 1130 10-30 09:57:15.808: D/dalvikvm(1116): Note: class Landroid/opengl/GLWrapperBase; has 250 unimplemented (abstract) methods 10-30 09:57:15.948: I/ActivityManager(388): Displayed com.kbjgames.calvinmakeyourfreethrows/com.ansca.corona.CoronaActivity: +1s692ms 10-30 09:57:16.318: V/GLSurfaceView(1116): glGetString(7937) returns Android Emulator OpenGL ES Translator (NVIDIA GeForce GT 650M OpenGL Engine); 10-30 09:57:16.438: D/dalvikvm(1116): GC\_FOR\_ALLOC freed 319K, 12% free 3049K/3432K, paused 29ms, total 32ms 10-30 09:57:16.438: I/dalvikvm-heap(1116): Grow heap (frag case) to 3.228MB for 200340-byte allocation 10-30 09:57:16.468: D/dalvikvm(1116): GC\_FOR\_ALLOC freed \<1K, 11% free 3244K/3628K, paused 24ms, total 24ms 10-30 09:57:16.588: V/Corona(1116): \> Class.forName: network.LuaLoader 10-30 09:57:16.588: V/Corona(1116): \< Class.forName: network.LuaLoader 10-30 09:57:16.588: V/Corona(1116): Loading via reflection: network.LuaLoader 10-30 09:57:16.618: I/Corona(1116): Platform: sdk / ARM Neon / 4.4.2 / Android Emulator OpenGL ES Translator (NVIDIA GeForce GT 650M OpenGL Engine) / OpenGL ES 2.0 (2.1 NVIDIA-10.0.43 310.41.05f01) / 2014.2479 10-30 09:57:16.638: D/dalvikvm(1116): GC\_FOR\_ALLOC freed 236K, 16% free 3075K/3628K, paused 23ms, total 23ms 10-30 09:57:17.008: D/dalvikvm(1116): GC\_FOR\_ALLOC freed 306K, 13% free 3168K/3628K, paused 24ms, total 25ms 10-30 09:57:17.058: I/Corona(1116): model 10-30 09:57:17.058: I/Corona(1116): sdk 10-30 09:57:17.088: W/linker(1116): libgameNetwork.so has text relocations. This is wasting memory and is a security risk. Please fix. 10-30 09:57:17.108: W/linker(1116): libads.so has text relocations. This is wasting memory and is a security risk. Please fix. 10-30 09:57:17.118: V/Corona(1116): \> Class.forName: plugin.cashplay.LuaLoader 10-30 09:57:17.118: V/Corona(1116): WARNING: Could not load 'LuaLoader' 10-30 09:57:17.128: W/System.err(1116): java.lang.ClassNotFoundException: plugin.cashplay.LuaLoader 10-30 09:57:17.128: W/System.err(1116): at java.lang.Class.classForName(Native Method) 10-30 09:57:17.128: W/System.err(1116): at java.lang.Class.forName(Class.java:251) 10-30 09:57:17.128: W/System.err(1116): at java.lang.Class.forName(Class.java:216) 10-30 09:57:17.128: W/System.err(1116): at com.ansca.corona.NativeToJavaBridge.callLoadClass(NativeToJavaBridge.java:310) 10-30 09:57:17.128: W/System.err(1116): at com.ansca.corona.JavaToNativeShim.nativeResize(Native Method) 10-30 09:57:17.128: W/System.err(1116): at com.ansca.corona.JavaToNativeShim.resize(JavaToNativeShim.java:372) 10-30 09:57:17.128: W/System.err(1116): at com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onSurfaceChanged(CoronaGLSurfaceView.java:374) 10-30 09:57:17.128: W/System.err(1116): at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1611) 10-30 09:57:17.128: W/System.err(1116): at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1377) 10-30 09:57:17.128: W/System.err(1116): Caused by: java.lang.NoClassDefFoundError: plugin/cashplay/LuaLoader 10-30 09:57:17.128: W/System.err(1116): ... 9 more 10-30 09:57:17.128: W/System.err(1116): Caused by: java.lang.ClassNotFoundException: Didn't find class "plugin.cashplay.LuaLoader" on path: DexPathList[[zip file "/data/app/com.kbjgames.calvinmakeyourfreethrows-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2, /system/lib]] 10-30 09:57:17.178: W/System.err(1116): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) 10-30 09:57:17.178: W/System.err(1116): at java.lang.ClassLoader.loadClass(ClassLoader.java:497) 10-30 09:57:17.178: W/System.err(1116): at java.lang.ClassLoader.loadClass(ClassLoader.java:457) 10-30 09:57:17.178: W/System.err(1116): ... 9 more 10-30 09:57:17.198: I/Corona(1116): Runtime error 10-30 09:57:17.198: I/Corona(1116): /Users/jenkins/slaveroot/workspace/Enterprise/OS/ios-8.0/release/release/platform/resources/init.lua:820: module 'plugin.cashplay' not found:resource (plugin.cashplay.lu) does not exist in archive 10-30 09:57:17.198: I/Corona(1116): no field package.preload['plugin.cashplay'] 10-30 09:57:17.198: I/Corona(1116): no file '(null)/plugin.cashplay.lua' 10-30 09:57:17.198: I/Corona(1116): no file '(null)/plugin.cashplay.lua' 10-30 09:57:17.198: I/Corona(1116): no file '/data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libplugin.cashplay.so' 10-30 09:57:17.198: I/Corona(1116): no file './plugin.cashplay.so' 10-30 09:57:17.198: I/Corona(1116): no file '(null)/plugin.cashplay.so' 10-30 09:57:17.198: I/Corona(1116): no file '/data/app-lib/com.kbjgames.calvinmakeyourfreethrows-2/libplugin.so' 10-30 09:57:17.198: I/Corona(1116): no file './plugin.so' 10-30 09:57:17.198: I/Corona(1116): no file '(null)/plugin.so' 10-30 09:57:17.198: I/Corona(1116): stack traceback: 10-30 09:57:17.198: I/Corona(1116): [C]: in function 'require' 10-30 09:57:17.198: I/Corona(1116): /Users/jenkins/slaveroot/workspace/Enterprise/OS/ios-8.0/release/release/platform/resources/init.lua:820: in function 'require' 10-30 09:57:17.198: I/Corona(1116): ?: in main chunk 10-30 09:57:19.118: D/dalvikvm(1116): GC\_FOR\_ALLOC freed 457K, 15% free 3195K/3716K, paused 22ms, total 23ms 10-30 09:57:19.118: I/dalvikvm-heap(1116): Grow heap (frag case) to 3.332MB for 160016-byte allocation 10-30 09:57:19.148: D/dalvikvm(1116): GC\_FOR\_ALLOC freed \<1K, 14% free 3351K/3876K, paused 25ms, total 25ms 10-30 09:59:18.118: D/dalvikvm(1116): GC\_FOR\_ALLOC freed 664K, 19% free 3189K/3928K, paused 23ms, total 23ms 10-30 09:59:28.908: D/dalvikvm(388): GC\_FOR\_ALLOC freed 1079K, 21% free 5993K/7532K, paused 64ms, total 67ms

Its trying to load a plugin called “cashplay”.  I don’t know what this is, but until you get it included in your project it’s going to throw this error. 

Rob

Thanks Rob! Strange but was the problem.