Комментарии:
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.
Thank you very much bro
ОтветитьGOD BLESS YOU MAN, I'VE BEEN STUCK IN TO THIS FOR A WEEK
Ответитьgod bless u man..u saved me after 3 days of missery.
Ответитьit works with me Using Unity 2018.4.24f1 thank you i have been tried for 5 hours until i got your vid
Ответить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
Ответить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.
thanks m8 it works
Ответить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.
Ответить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
Ответитьperfect thank you!!
ОтветитьI love you men
ОтветитьWhat is that windows from? I don't know how to do the first step xd
Ответитьthanks
ОтветитьOMG! You are a genious! Thanks!! :D
Ответить