Search Unity

Crash on launch, Couldn't load mono?

Discussion in 'Android' started by goodhustle, Jun 22, 2011.

  1. goodhustle

    goodhustle

    Joined:
    Jun 4, 2009
    Posts:
    310
    I need some help with an Android build... I'm getting this logcat output from a crash on launch:

    D/Unity ( 1154): cpuarch.GetCpuFeatures() = 55
    D/Unity ( 1154): cpuarch.GetTotalMemory() = 385
    D/Unity ( 1154): gles_mode = 1 (integer)
    D/Unity ( 1154): splash_mode = 0 (integer)
    D/Unity ( 1154): development_player = True (bool)
    D/AndroidRuntime( 1154): Shutting down VM
    W/dalvikvm( 1154): threadid=1: thread exiting with uncaught exception (group=0x40015560)
    E/AndroidRuntime( 1154): FATAL EXCEPTION: main
    E/AndroidRuntime( 1112): java.lang.UnsatisfiedLinkError: Couldn't load mono: findLibrary returned null
    E/AndroidRuntime( 1112): at java.lang.Runtime.loadLibrary(Runtime.java:429)
    E/AndroidRuntime( 1112): at java.lang.System.loadLibrary(System.java:554)
    E/AndroidRuntime( 1112): at com.unity3d.player.UnityPlayer.d(Unknown Source)
    E/AndroidRuntime( 1112): at com.unity3d.player.UnityPlayer.<init>(Unknown Source)
    E/AndroidRuntime( 1112): at com.unity3d.player.UnityPlayerActivity.onCreate(Unknown Source)
    E/AndroidRuntime( 1112): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
    E/AndroidRuntime( 1112): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
    E/AndroidRuntime( 1112): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
    E/AndroidRuntime( 1112): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
    E/AndroidRuntime( 1112): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
    E/AndroidRuntime( 1112): at android.os.Handler.dispatchMessage(Handler.java:99)
    E/AndroidRuntime( 1112): at android.os.Looper.loop(Looper.java:130)
    E/AndroidRuntime( 1112): at android.app.ActivityThread.main(ActivityThread.java:3683)
    E/AndroidRuntime( 1112): at java.lang.reflect.Method.invokeNative(Native Method)
    E/AndroidRuntime( 1112): at java.lang.reflect.Method.invoke(Method.java:507)
    E/AndroidRuntime( 1112): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
    E/AndroidRuntime( 1112): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
    E/AndroidRuntime( 1112): at dalvik.system.NativeStart.main(Native Method)
    W/ActivityManager( 99): Force finishing activity com.goodhustle.awoatestapp/com.unity3d.player.UnityPlayerActivity

    This is a test build of a very large apk (150MB) installed to the sd card with adb install -s. I'm not intending to distribute this as-is, but just wanted to see whether/how it runs on my dev nexus one, to get an idea of how much porting work there will be. I searched the forums but was unable to find any real clues. Is there something messed up with my Unity install? Let me know if I can provide any further info.