Hi! I have installed 2019.2.14f recently, with Android tools checked. But while build process this error happens. How could i solve this?
I have this problem too, with the same Unity version.
Hi,
I solved the problem setting in Preferences… → External Tools, remove the flag from Android NDK Installed with Unity and set the path (for Windows) as:
C:\Program Files\Unity\Hub\Editor\2019.2.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\android-ndk-r16b
It seems that Unity lost the last NDK folder, android-ndk-r16b
Hope it can help.
Mario
Hi justtime,
after resolved the error “Unable to locate Android NDK” I have find other two problems:
- Error on running il2cpp.exe
- Error with license for android sdk 29 and buid tools 29.0.2.
I resolved the first error coping the content of the folder:
C:\Program Files\Unity\Hub\Editor\2019.2.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\android-ndk-r16b
in folder:
C:\Program Files\Unity\Hub\Editor\2019.2.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\
I resolved the second error by setting in Preferences… → External Tool my android sdk installed with Android Studio.
I think something is wrong with SDK and NDK released with Unity 2019.2.14f1.
Hope it can help.
Regards,
Mario
Yes, I can confirm this major bug
Yeah, the same bug here. [mariobuonocore1]( Unable to locate adnroid ndk members/mariobuonocore1.1079761/) helped me.
Thank you so much i was trying to solve this FOR HOURS and your solution was perfect, just a note for anyone wondering where the SDK path is i found it in “C:/users/XX/Appdata/Local/Android/Sdk”