I am trying to build my Android app in Unity on Ubuntu
, but cannot find Android SDK
.
What is Android SDK
default path on Ubuntu
?
The default location for each path is as follows: 1 Java Development Kit Location: C:\Program Files\Java\jdk1.8.0_131 2 Android SDK Location: C:\Program Files (x86)\Android\android-sdk 3 Android NDK Location: C:\ProgramData\Microsoft\AndroidNDK64\android-ndk-r13b
The sdkmanager is a CLI tool that allows users to view, install, update, and uninstall available packages for the Android SDK. This tutorial is going to teach you how to install Android SDK Manager on Ubuntu 18.04 using terminal.
Similar with windows, get the android sdk installation directory path in android studio. Generally the android sdk is installed in /Users/user-name/Library/Android/sdk folder in Mac OS. Use nano to create or edit user bash profile in user home directory. $ nano .bash_profile. Add ANDROID_HOME and PATH environment variable in user bash profile.
Configure Android SDK Variable In macOS. Open Android Studio on macOS, then click Android Studio —> Preferences menu item at the left top toolbar. Input search keyword sdk in the search box of the popup Preferences dialog window left side.
If you've installed the SDK using:
apt install android-sdk
it is located at /usr/lib/android-sdk
.
The Path will be like,
Linux /home/AccountName/Android/Sdk
If you've installed the SDK using the apt install android-sdk
, it is located at /usr/lib/android-sdk
then copy that folder (android-sdk) to your home folder ex: home/username/Android/android-sdk, because /usr/lib/android-sdk will prompt a not writable error..by default there's no Android folder in your home directory so create that folder first then paste inside it the android-sdk folder from /usr/lib
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With