FIX 'Unity cannot set Android SDK path' Or Unity can't find Android SDK

FIX 'Unity cannot set Android SDK path' Or Unity can't find Android SDK

AssertionError

4 года назад

18,525 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Apocalypso Gam
Apocalypso Gam - 04.11.2022 23:16

Guys if you installed ur Android tools with the unity hub the problem is really simple to fix, idk why unity just does not do it automaticlly.
Go to EDIT -> Preferences -> External Tools
Scroll down and just check the boxes with the path in Android that are for some reason unchecked restart and problem sovled.
king regards.

Ответить
sheejav Prasad
sheejav Prasad - 04.06.2022 11:33

Thank you very much bro

Ответить
LUKAS HENRIQUE BRAGA DIAS
LUKAS HENRIQUE BRAGA DIAS - 16.05.2022 02:02

GOD BLESS YOU MAN, I'VE BEEN STUCK IN TO THIS FOR A WEEK

Ответить
Sriranga Gudimella
Sriranga Gudimella - 15.04.2022 15:05

god bless u man..u saved me after 3 days of missery.

Ответить
X-FlaMe -InGo-
X-FlaMe -InGo- - 13.04.2022 09:53

it works with me Using Unity 2018.4.24f1 thank you i have been tried for 5 hours until i got your vid

Ответить
DegenStyle
DegenStyle - 08.04.2022 18:19

Also works when you for the first time set up and it won't recognize the android sdk path under Preferences>ExternalTools Android Sdk path! THANK YOU

Ответить
Kavan Bahrami
Kavan Bahrami - 10.10.2020 01:15

For anyone that finds this and is having problems with a Unity install not having an Android SDK when trying to build (I'm on 2020) here's a potential fix I wish I would have found sooner:

windows:
1. run CMD (command prompt) as an administrator: Right-Click "run as administrator"
2. navigate to the Android SDK Manager installed by Unity:
cd C:\Program Files\Unity\Hub\Editor\[UNITYVERSION]\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\bin
3. I don't know if you need to run the SDK here first or not, I did:
sdkmanager.bat
4. Run this code, adding the API version you want to install:
sdkmanager "platform-tools" "platforms;android-30"
5. Agree to terms: Y

Your missing SDK will now be installed, close and restart Unity if you had it open. You should now be able to do your build.
Hope that helps.

Ответить
Vinícius Vicco Petrarca Di Assis Miranda
Vinícius Vicco Petrarca Di Assis Miranda - 21.08.2020 21:33

thanks m8 it works

Ответить
Askeladd Castus
Askeladd Castus - 14.08.2020 15:00

For those of you that didn't fix your build by the step above like me. Try this " Edit , Project Settings, Burst AOT Settings - Disable Burst Compilation " Check . The error is fix by 2020 release of Unity but i didn't try yet. Some one will be glad.

Ответить
Umme Laila
Umme Laila - 27.07.2020 18:59

hello, can anyone help me with this problem? I cant add modules in the unity but I need the android oculus go but it's not showing up. I did it through an android studio but it's saying that it's not the latest version and I should download the latest version from unity hub, but it's not coming up on the unity hub. what should I do now? I've my thesis on hand kindly help me please

Ответить
Bar Evolution Calisthenics
Bar Evolution Calisthenics - 27.07.2020 14:50

perfect thank you!!

Ответить
Alancete
Alancete - 27.05.2020 03:54

I love you men

Ответить
Ignacio Espinoza
Ignacio Espinoza - 05.05.2020 07:18

What is that windows from? I don't know how to do the first step xd

Ответить
Anudeep Reddy
Anudeep Reddy - 18.04.2020 10:18

thanks

Ответить
Matías Espínola
Matías Espínola - 16.04.2020 08:50

OMG! You are a genious! Thanks!! :D

Ответить