Search Unity

Crash: dlopen failed: library name libmain.so too long

Discussion in 'Android' started by io-games, Mar 16, 2020.

  1. io-games

    io-games

    Joined:
    Jun 2, 2016
    Posts:
    104
    Any chance to fix this on android 5.1 ?
    Unity 2019.2.7f2

    Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library name "/data/app/com.mega_play_games.ocean.raft.shark.craft.survival_games.crafting.building.last_day.survive.fishing.hungry-1/lib/arm64/libmain.so" too long

    Full stack trace
    Code (CSharp):
    1. FATAL EXCEPTION: main
    2. Process: com.mega_play_games.ocean.raft.shark.craft.survival_games.crafting.building.last_day.survive.fishing.hungry, PID: 27627
    3. java.lang.Error: FATAL EXCEPTION [main]
    4. Unity version     : 2019.2.8f1
    5. Device model      : HUAWEI ALE-L23
    6. Device fingerprint: Huawei/ALE-L23/hwALE-H:5.0.1/HuaweiALE-L23/C605B150:user/release-keys
    7. Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library name "/data/app/com.mega_play_games.ocean.raft.shark.craft.survival_games.crafting.building.last_day.survive.fishing.hungry-1/lib/arm64/libmain.so" too long
    8.     at java.lang.Runtime.loadLibrary(Runtime.java:383)
    9.     at java.lang.System.loadLibrary(System.java:998)
    10.     at com.unity3d.player.UnityPlayer.<clinit>(Unknown Source)
    11.     at com.unity3d.player.UnityPlayerActivity.onCreate(Unknown Source)
    12.     at android.app.Activity.performCreate(Activity.java:6013)
    13.     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
    14.     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2359)
    15.     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2466)
    16.     at android.app.ActivityThread.access$1200(ActivityThread.java:152)
    17.     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1341)
    18.     at android.os.Handler.dispatchMessage(Handler.java:102)
    19.     at android.os.Looper.loop(Looper.java:135)
    20.     at android.app.ActivityThread.main(ActivityThread.java:5538)
    21.     at java.lang.reflect.Method.invoke(Native Method)
    22.     at java.lang.reflect.Method.invoke(Method.java:372)
    23.     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
    24.     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    3,014
    No, this is an OS level limitation.
    Why did you come up with such a long name anyway? :)
     
    io-games likes this.
  3. io-games

    io-games

    Joined:
    Jun 2, 2016
    Posts:
    104
    Ohh... it was 3 years ago. ASO reason
     
  4. io-games

    io-games

    Joined:
    Jun 2, 2016
    Posts:
    104
    Disabled almost all china phones with android 5, 5.1 in google play developer console.
    But rating already ruined.