Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is adb located when installing Unity and Android SDK for Mac?

I'm getting Android Build Failures and would like to locate adb to do some queries like adb devices but where is adb installed? I've already installed the Android SDK for Unity.

like image 361
user1767754 Avatar asked Oct 29 '25 17:10

user1767754


2 Answers

From @Programmer's answer, this line is no longer true:

You are responsible for downloading, installing and setting up Android SDK and then manually setting the paths in Unity.

Unity now allows and encourages you to install the Android SDK via their Unity Hub:

Use the Unity Hub to install Android Build Support and the required Android SDK & NDK tools: enter image description here

From the same page, I found adb.exe is located at: /c/Program Files/Unity/Hub/Editor/2019.2.1f1/Editor/Data/PlaybackEngines/AndroidPlayer/SDK/platform-tools/adb.exe

like image 155
AJP Avatar answered Oct 31 '25 11:10

AJP


Updated answer for 2023:

C:\Program Files\Unity Editors\YOURVERSION\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools

like image 25
Richard Muthwill Avatar answered Oct 31 '25 12:10

Richard Muthwill



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!