Search Unity

Hub 2.2.0 + Unity 2019.2.14f1 Can't build Android player

Discussion in 'Unity Hub' started by Kichang-Kim, Nov 28, 2019.

Thread Status:
Not open for further replies.
  1. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    361
    Hi. I found that Unity 2019.2.14f1 which is installed by Hub 2.2.0 can't build Android player due to missing NDK issue.

    Also, it seems that NDK install path is changed:
    Unity 2019.2.14f1 with Hub 2.2.0
    C:\Program Files\Unity\Hub\Editor\2019.2.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\android-ndk-r16b

    Unity 2019.2.10f1 with Hub 2.1.x
    C:\Program Files\Unity\Hub\Editor\2019.2.10f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK

    Also, re-clicking "Android NDK Installed with Unity (recommended)" in Preferences window makes other issue, related to Android SDK. After re-click, it shows another error message like this:

    Both Windows and Mac editor has this issue.

    Thanks.
     
  2. KillU

    KillU

    Joined:
    Jul 22, 2016
    Posts:
    1
    I have the same issue. :/

    unity hub 2.2.0 is totally broken
     
  3. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    361
    Temporary workaround:
    Uncheck "Android NDK Installed with Unity (recommended)" and set NDK path manually.

    This issue should be fixed ASAP. It is veeeeery critical for automated build pipeline.

    (I can't believe how this critical issue is not found before Unity release it.)
     
  4. DRAGONnoid

    DRAGONnoid

    Joined:
    Aug 28, 2014
    Posts:
    3
    i downloaded android-ndk-r20b and set NDK path manually. Same ERROR ((((

    i try to compile .aab for google play with IL2CPP & ARM64

    UPD: YEEEARH! i FIX THAT by set manually Android NDK Istalled directory: "C:\Program Files\Unity\Hub\Editor\2019.2.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\android-ndk-r16b"

    Wery strange that it's dont work with android-ndk-r20b at the same...
     
    Last edited: Nov 30, 2019
  5. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    361
    Unity Hub 2.2.1 still have this issue.
     
    Minosoft likes this.
  6. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,733
  7. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,733
Thread Status:
Not open for further replies.