Search code examples
macosunity-game-engineadb

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.


Solution

  • Where is adb installed when it comes with unity?

    adb is never installed when you install Unity. You are responsible for downloading, installing and setting up Android SDK and then manually setting the paths in Unity.

    You download Android SDK, then JDK and setup the paths in Unity. That's it. If you want to build for Android with IL2CPP then you must also download the Android NDK and also set the link up in the Editor.

    See this post if you have problems setting it up.

    If you want to see the SDK path go here:

    EDIT:

    Go to Edit ---> Preferences --->External Tools then scroll down to SDK under Android, you will see the SDK path there.

    Once you find the SDK path, "adb.exe" will be located at <SDK_PATH>/platform-tools.