Search Issue Tracker

Fixed in 2019.3.X

Votes

9

Found in

2019.3.0a4

Issue ID

1159144

Regression

Yes

[Unity Hub][Android][NDK] Integrated NDK version is not compatible with available Unity Hub or Android developer NDK versions

Mobile

-

How to reproduce:
1. Download 2019.3.0a4 trough Unity Hub with Android + NDK/SDK tools, notice that r16b is downloaded
2. Try to do Android IL2CPP build and notice that Editor complains about NDK tools not found
3. Download latest NDK r19 version from Android developer page - https://developer.android.com/ndk/downloads
4. When setting to the newest NDK, you will get the error message "NDK 19.2.5345600 detected. Unity requires NDK r19 (64-bit) (19.0.5232133)."

Reproducible with - 2019.3.0a4
Not reproducible with - 2019.3.0a3

Workaround until the correct version will be downloaded via Hub is to download r19 version from the developer.android directly. Just follow the steps to download the latest ndk r19 version (currently it's r19c) and once you'll have the download link, just delete the letter after the version number, so the link would have only ndk-r19.

Fixed in Unity Hub 2.0.4 version

Comments (22)

  1. jaskof

    Nov 08, 2019 17:37

    in case anyone here is still struggling here's the NDK version that you need:
    https://dl.google.com/android/repository/android-ndk-r19-windows-x86_64.zip
    a downgrade to unity 2019.2 is also a workaround

  2. SandeepNsk_SpiritualGamer

    Aug 26, 2019 14:00

    changing the file source.properties -Pkg.Revision to 19.0.5232133 worked.For the people who downloaded the NDK manually "source.properties" stays inside the downloaded ndk folder.It was my bad searching the installed unity folder for "source.properties".Thank you devs

  3. SandeepNsk_SpiritualGamer

    Aug 26, 2019 13:04

    issue happens in 2019.3.0.a12. what is the path for source.properties in Mac.Thanks in advance

  4. hsanjay500

    Jul 03, 2019 05:14

    change Pkg.Revision to 19.0.5232133.... it's work Bro

  5. SisMoon

    Jul 03, 2019 01:19

    IINDIEGAMESPROJECT,

    I tried suggestions and I have a new message:

    "You are missing the recommended NDK. "

    Did you get the same result?

    Thank you,
    Sis Moon

  6. IindieGamesProject

    Jun 30, 2019 11:45

    Open ...Unity\Editor\2019.3.0a7\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\source.properties and change Pkg.Revision to 19.0.5232133

  7. ecv80

    Jun 29, 2019 23:25

    Present in 2019.3.0a7

  8. BriRivera

    Jun 26, 2019 09:47

    my version is 2019.3.0a6

  9. BriRivera

    Jun 26, 2019 09:45

    Does not work on me it says NDK 19.2.5345600 detected UNITY requires NDK r19 (64-bit) (19.0.5232133). I removed the letter as you said but does not work

  10. unity_CY0hkjIoFS7IFw

    Jun 11, 2019 08:51

    The problem exists in version 2019.3.0a5 also.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.