Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

App not working on some devices; Failed to load 'libmain.so'

Discussion in 'Android' started by ishimurax, Jan 1, 2021.

  1. creat327

    creat327

    Joined:
    Mar 19, 2009
    Posts:
    1,756
    I'm already using IL2CPP and getting the crashes. I haven't use Mono for years already.
     
  2. AlehZakharau

    AlehZakharau

    Joined:
    Feb 6, 2020
    Posts:
    1
    I've made developer build and got this bug in Unity 2021.3.3f1 + Firebase Auth + GoogleSignIn.
    On release build works fine.
     
  3. mudit_unity

    mudit_unity

    Joined:
    Mar 30, 2022
    Posts:
    1
    I have a unity project integrated in our react-native mobile application we recently tried to upgrade our react native version and that also updated the gradle version used in the project. I am not able to run the unity part in the app with app displaying the error - "Failed to load libmain.so". And idea what could be going wrong ?
     
  4. PavloSupenko

    PavloSupenko

    Joined:
    Jul 3, 2018
    Posts:
    2
    The solution is just enable IL2CPP scripting backend, enable x64 and v7 as your architecture targets and Resolve Android dependencies using EDM4U (External dependency manager for unity) or (if you`re not using EDM4U and just enabling right architecture targets does not help) change every place in custom gradle scripts you`re using from abiFilters **ABIFILTERS** to abiFilters 'armeabi-v7a', 'arm64-v8a'
     
  5. DivyaJain24

    DivyaJain24

    Joined:
    Oct 18, 2023
    Posts:
    3
    Hi, I would like to request you to please help me on this, I am facing this problem (Failure to initialize! Your hardware does not support this application, sorry!) in Android 13. If anyone have any ideas, please help me.