Search Unity

Error : java.lang.IllegalArgumentException: Unable to load native library: libmain.so

Discussion in 'Documentation' started by shahrukh_hp1, Aug 16, 2016.

  1. shahrukh_hp1

    shahrukh_hp1

    Joined:
    Aug 16, 2016
    Posts:
    15
    Hi ,

    My unity developed game had received issue from android 6.0 (on other versions it's working well),according to complain game immediately fails on start , I have received other issues in past but I can track the stack trace and fix the error ,but here I can't understand what could be the problem ..

    Can someone guide me where I could be wrong ?

    Following is the crash report I have received on my developers account :

    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.shah.KidzMaths/com.unity3d.player.UnityPlayerNativeActivity}: java.lang.IllegalArgumentException: Unable to load native library: /data/app/com.shah.KidzMaths-1/lib/arm/libmain.so at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2426) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2490) at android.app.ActivityThread.-wrap11(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5443) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) Caused by: java.lang.IllegalArgumentException: Unable to load native library: /data/app/com.shah.KidzMaths-1/lib/arm/libmain.so at android.app.NativeActivity.onCreate(NativeActivity.java:182) at com.unity3d.player.UnityPlayerNativeActivity.onCreate(Unknown Source) at android.app.Activity.performCreate(Activity.java:6245) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1130) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379) ... 9 more



    Update :
    I have seen this problem which is similar :
    https://community.unity.com/t5/Andr...mentException-lib-arm-libmain-so/td-p/2643773

    but that guy didn't explain he said he updated unity to 4.

    My unity version is 4.3.2f1
     
    Last edited: Aug 16, 2016
  2. Yury-Habets

    Yury-Habets

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    1,167