9

2019.3.0a4

1159144

Yes

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

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/downloads4. 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.

Comments (17)

RSH1

May 05, 2020 13:47

Can confirm that "deleting the c" doesn't work for me either

pevicentini

Apr 26, 2020 23:53

You can also open a terminal window in your 'SDK\tools\bin' folder... and type:
sdkmanager "ndk-bundle" "ndk;19.0.5232133"
This should download and install the required NDK version inside your SDK folder. You can later move it to another location or reference it from this one.
(Not tested but should work in theory)

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

unity_WkvIEIhtMMIJhw

Aug 26, 2019 13:04

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