Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Android SDK for unity?

How to install Android SDK for building an app in Unity?

I used the guide and followed the steps.

https://unity3d.com/learn/tutorials/topics/mobile-touch/building-your-unity-game-android-device-testing

After implementing the steps I still can not find the sdk.exe which is needed for the build proces.

like image 306
Henrique Avatar asked Mar 26 '26 20:03

Henrique


1 Answers

There is no such file as sdk.exe

Default path of SDK folder is: C:\Users\[yourName]\AppData\Local\Android\android-sdk

There is a file named SDK Manager.exe in that address where you can install or update SDK modules.

After installing SDK and JDK you need to set their paths in Unity -> Edit -> Preferences...:

enter image description here

In Unity -> File -> Build Settings select Android from platforms list and click Build:

enter image description here

Or you can click on Build and Run (Ctrl+B) if Device is already set in Edit -> Project Settings -> Editor to Any Android Device

That's all you need to do for building your game for android.

you may also need to move Java Path to the first position in the PATH variable in environment variables.

like image 110
Bizhan Avatar answered Mar 29 '26 09:03

Bizhan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!