Search Unity

Android .so file settings are not updated.

Discussion in 'Editor & General Support' started by HyungonKim, May 12, 2020.

  1. HyungonKim

    HyungonKim

    Joined:
    Mar 11, 2018
    Posts:
    11
    My problem was .so files are not included in APK file after building.

    And I found the issue in Unity.

    I have multiple .so files for Android.
    I selected multiple .so files at once. and changed the platform at once to Android.
    And the files will be automatically set to "ARMv7" in UI.

    But if you open the inspector window with Debug, Platform data is not set. There is no data.
    No data.png

    So, When Unity builds the android APK file, Unity doesn't add these .so files and APK will say you don't have .so file or linking error.


    If you set the CPU setting in Android for .so file one by one, the setting will be like this.
    data in.png

    If you have a problem with not including .so files, this is the problem.

    I would like to share this. I spend two weeks to solve this.