Jorhoto
October 22, 2021, 9:57am
41
Same issue here
I just installed 2020.3.21, having previously 2020.3.19 (Unity Hub Beta 3.5).
Psyboyo:
1. Restart the PC
2. Go to:
*C:\Program Files\Unity\Hub\Editor\2019.2.6f1\Editor\Data\PlaybackEngines*
(this example is for 2019.2.6f1 but you can choose any other)
3. You will find there a folder âAndroidPlayerâ. Delete that AndroidPlayer folder.
You will need to be a User with Admin rights, and this is probably why Unity fails on uninstall, it has no permission to delete the folder.
4. Go to:
https://unity3d.com/unity/whats-new/2019.2.6
(this example is for 2019.2.6f1, on the right side of the page, choose your version)
Or if using BETA version go to:
https://unity3d.com/unity/beta/2019.3#downloads
Future releases, just adapt the link or Google it.
5. On the left side of that page under Component Installers Windows (or macOS), choose Android Target Support.
6. It will download UnitySetup-Android-Support-for-Editor-2019.2.6f1.exe in this example, so run that to install. Done!
I had the same problem now that I reseted my PC, and reinstalled the whole system new, this started to happen in Unity, 2019.2.xxx and 2019.3.xxx. At this point, I can only assume that this happens on a fresh system installation, and that could be why there arenât many answers about this on the net, or even Unity team not finding it out after all this time and fix it.
Cheers!
Yeah, same thing with 2020.3.21f - solution above is not working for me. Manual installation runs fine, but Android Support is not detected by Unity Hub for some reason.
Donât know if it helps but this problem happened whenever i was using Unity Hub 3.0.0. Returning back to Unity Hub v2 and reinstalling the editor from it helped me to solve it.
Tried on Unity Hub 3.0.0-beta.2 and beta.5
Seems that everyone has the same issue
#FIXITNOW
ypermat:
Hello my mans !
I still have the problem.
With your solution, once downloaded, android support does not isntall JDK, SDK and NDK.
However, when I (re)install Unity, I have a message like âUnity could not delete old android filesâ. But theses files are thoses who just have been installed BY Unity.
I so have Continue, Retry, Ignore.
Give up does nothing
Ignore ignoreâŠ
And Retry deletes the JDK, SDK and NDK and re open the error.
On the screenshot I clicked Retry on time and SDK disappearedâŠ
What can I do ? Thank by advance !
Install One By One can solve it
Gigacee
October 26, 2021, 3:47pm
45
The release notes for v3.0.0-beta.6 say:
I tried installing Unity 2021.1.27f1 with v3.0.0-beta.6 and no errors occurred
Gigacee
November 2, 2021, 5:35am
46
Unfortunately, even though the error dialog is no longer displayed, the bug still exists.
The Unity Editor installed with Unity Hub v3.0.0-beta.6 does not recognize the Android module correctly.
Not sure if it applies in your case, but note the path. You previous message says you installed Unity 2021.1.27f1 but the path says Unity 2021.1.24f1. This happened to me yesterday, I had to change the path to match the Unity version I just installed, it seems to remember the path from a previous install. Iâm using Hub 2.4.5
Psyboyo:
1. Restart the PC
2. Go to:
*C:\Program Files\Unity\Hub\Editor\2019.2.6f1\Editor\Data\PlaybackEngines*
(this example is for 2019.2.6f1 but you can choose any other)
3. You will find there a folder âAndroidPlayerâ. Delete that AndroidPlayer folder.
You will need to be a User with Admin rights, and this is probably why Unity fails on uninstall, it has no permission to delete the folder.
4. Go to:
https://unity3d.com/unity/whats-new/2019.2.6
(this example is for 2019.2.6f1, on the right side of the page, choose your version)
Or if using BETA version go to:
https://unity3d.com/unity/beta/2019.3#downloads
Future releases, just adapt the link or Google it.
5. On the left side of that page under Component Installers Windows (or macOS), choose Android Target Support.
6. It will download UnitySetup-Android-Support-for-Editor-2019.2.6f1.exe in this example, so run that to install. Done!
I had the same problem now that I reseted my PC, and reinstalled the whole system new, this started to happen in Unity, 2019.2.xxx and 2019.3.xxx. At this point, I can only assume that this happens on a fresh system installation, and that could be why there arenât many answers about this on the net, or even Unity team not finding it out after all this time and fix it.
Cheers!
This works!!! Thank you man! The issue confused me about 1 week!!!
Unity Hub 3.1.2 still has this issue. I always need PC reboot for installing new Unity version. Its extremely annoying.
Psyboyo:
1. Restart the PC
2. Go to:
*C:\Program Files\Unity\Hub\Editor\2019.2.6f1\Editor\Data\PlaybackEngines*
(this example is for 2019.2.6f1 but you can choose any other)
3. You will find there a folder âAndroidPlayerâ. Delete that AndroidPlayer folder.
You will need to be a User with Admin rights, and this is probably why Unity fails on uninstall, it has no permission to delete the folder.
4. Go to:
https://unity3d.com/unity/whats-new/2019.2.6
(this example is for 2019.2.6f1, on the right side of the page, choose your version)
Or if using BETA version go to:
https://unity3d.com/unity/beta/2019.3#downloads
Future releases, just adapt the link or Google it.
5. On the left side of that page under Component Installers Windows (or macOS), choose Android Target Support.
6. It will download UnitySetup-Android-Support-for-Editor-2019.2.6f1.exe in this example, so run that to install. Done!
I had the same problem now that I reseted my PC, and reinstalled the whole system new, this started to happen in Unity, 2019.2.xxx and 2019.3.xxx. At this point, I can only assume that this happens on a fresh system installation, and that could be why there arenât many answers about this on the net, or even Unity team not finding it out after all this time and fix it.
Cheers!
This helped me a lot thank you so much
close the unity hub application, make sure itâs not running in the system tray, then open the task manager, select the details tab, then look for âadbâ then end taskâŠand try again to delete the androidplayer file
bassarisse:
Just had this error while installing 2020.3.14 on Unity Hub 3.0.0-beta.2.
In case it can help someone: I fixed it by installing the Editor with only Android Build Support first, leaving the SDK/OpenJDK unmarked, and then I added these modules separately afterwards.
When adding the modules, I did receive an error saying âVerification failedâ in Android Build Support, but everything seems to run fine now.
Bro you saved my day, thk you.
Unity wtf is going on with youâŠ
Thanks! This helped so much!