Issue
So I've been getting these warnings in Unity 2019.410f1. Here's how it looks like:/>
But when I go to Hub to fix this, those packages are already installed.
However, there are no such folders in the directory where they are supposed to be (except for NDK folder, this one is fine). So here's my problem: JDK, NDK and SDK are NOT installed, but Unity Hub thinks overwise and doesn't let me install them. Reinstalling this version of Unity doesn't help either. Does anyone know what can I do to fix this?
Solution
the bug
There has been a bug in unity forever with those. The fix is, for jdk, sdk and ndk..
- click copy path button,
- untick the use version installed with unity box
- paste in the path you just copied
- (optional, save project and exit and repoen it)
- Then just retick the boxes to put it back the way it was originaly
I dont think you are having this bug tho, your problem sounds different.
uninstall / reinstall
I'm really suprised uninstalling unity and reinstalling didnt fix it. Maybe try uninstalling all versions of unity + unity hub, restart machine and start again installing unity hub.
Manually download
If nothing else works I think this would, but its not pretty..
Manually download sdk, jdk and ndk, untick the boxes and add the paths where you have put them. The jdk and ndk can just be downloaded.
- jdk https://www.oracle.com/java/technologies/downloads/
- ndk https://developer.android.com/ndk/downloads
- But to get the sdk you have to install android studio, then download all the individual packages using the sdk manager (which is a tiny hard to find icon!)
Answered By - Guye Incognito
Answer Checked By - Dawn Plyler (JavaFixing Volunteer)