Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android SDK Ubuntu default path

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?

like image 252
Alina Avatar asked Dec 04 '17 09:12

Alina


People also ask

What is the default location for Android SDK and NDK?

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

What is Android SDK manager in Ubuntu?

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.

How to get the Android SDK installation directory path in Android Studio?

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.

How to configure Android SDK variable in Android Studio on macOS?

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.


3 Answers

If you've installed the SDK using:

apt install android-sdk

it is located at /usr/lib/android-sdk.

like image 73
user Avatar answered Oct 11 '22 00:10

user


The Path will be like,

Linux /home/AccountName/Android/Sdk

  • For Linux: ~/Android/Sdk
  • For Mac: ~/Library/Android/sdk
  • For Windows: %LOCALAPPDATA%\Android\sdk
like image 29
Gowtham Subramaniam Avatar answered Oct 10 '22 23:10

Gowtham Subramaniam


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

like image 6
Vince Avatar answered Oct 11 '22 00:10

Vince