Android NDK missing

Hi :smile:

UPDATE 1 (04 June 2019) : @Nachip recommended me to install the previous version - Unity 2019.2.0b4, and I use It, It works perfectly.

UPDATE 2 (14 June 2019) : @fherbst recommends to download NDK r19a (https://dl.google.com/android/repository/android-ndk-r19-windows-x86_64.zip). I did, then I extracted the file, replaced the content of the original one (copy it to be safe) by the new content and It works wonderfully.

I installed - Unity 2019.3.0a4 Personal with Unity Hub 2.0.0.
ISSUE : “You are missing the recommended Android NDK…” in “Preferences/External Tools/”.

What I did :

  • Installed Android SDK & NDK Tools by the lastest Unity Hub (screenshot 1).
  • Tried to “Build” and “Build & Run”, not working (screenshot 2).
  • Checked in “Preferences/External Tools/” (screenshot 3).
  • I located manually with this path “*C:\Program Files\Unity\Hub\Editor\2019.3.0a4\Editor\Data\PlaybackEngines\AndroidPlayer\NDK*”, error window (screenshot 4).

If someone can give me a way to solve this problem, It could be helpfull for the community.

Ps : If I made a mistake in english, please forgive me, I am fr, I tried to my best to write correctly.

Thank you for your help :smile:

Screenshot 1 :

Screenshot 2 :
4610044--430981--1.PNG

Screenshot 3 :

Screenshot 4 :
4610044--430999--3.PNG

I get the same issue. i solve it by changing the unity version to 2019.2.0b4 then downloading the NDK using the unity HUB

I installed the version 2019.2.0b4 of Unity, and It works like a charm.

@Nachip Thank you :smile:

I also had a similar issue, I posted at:

down grading from 2019.3… to 2019.2…is a working work around…

I just checked the download list for latest 0a5 and it’s still set to download ndk-r16b. Can anyone who’s installed this say whether 2019.3.0a5 has reverted to the r16b ndk or does it still want ndk19 once installed?

So do i need to re download version Unity 2019.2.0b4 ?

For me it didn’t work with the one in 2019.2.0b4/b5, as those are NDKr16 as well, but instead had to use r19(a).

Here’s the exact version Unity is asking for, for anyone with the same issue.

4635448--434728--upload_2019-6-11_15-9-55.png

Note that the most recent NDK r19 download from Google also doesn’t work as it is too new:
4635448--434740--upload_2019-6-11_15-12-45.png

This one (NDK r19a) works:
https://dl.google.com/android/repository/android-ndk-r19-windows-x86_64.zip
(Unity still displays “You are not using the recommended Android NDK” when doing that but building works)

Thank you @fherbst for your help :smile: I updated the post.

Thank you fherbst. Legend! Worked for me. Just changed ‘windows’ to ‘linux’ in filename.

Thank you so much this helped me. Your the best!

Thanks for your help!

Please be aware that Unity 2019.3.0a7 has the same issue as mentioned above - it still wants NDK r19 (64-bit) (19.0.5232133), latest r19 from Google won’t work, older ones won’t work, except for the one that’s linked here…
Do they read these forums?

Why my Unity ver. 2019.3.0a8 still dont work even though I install the that linked here?? :frowning:

I used this one:

Did you set the new NDK location in Unity?

The developers are aware of this issue and are working on its resolution: Unity Issue Tracker - [HUB] HUB doesn't install the right Android SDK and NDK tools

The developers have closed the issue with a (supposed) resolution, but it’s not resolved. The problem persists.

Can you make sure that you uninstall it with all of the modules, update HUB’s version and reinstall Unity with the Android module? Then go to the install directory, find the NDK folder, open the source.properties file and verify that NDK’s version is 16. Let me know if you did this and the issue is still there.

@DeliaF_Manea I’ve a fresh install (as fresh as possible, just reformatted the computer) and via Unity Hub installed 2019.2.0f1 with Android + NDK + OpenJDK. Here’s what I see at
/Volumes/Mac500GB/Applications/Unity/2019.2.0f1/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r16b/source.properties:

Pkg.Desc = Android NDK
Pkg.Revision = 16.1.4479499

When I try to build it stops at Android NDK not found.

Attached image of preferences showing that it’s using everything from the hub.

Could you attach an editor.log file/ picture of it where the failed building process could be seen?

@DeliaF_Manea Attached are pictures of it failing