Alina
Alina

Reputation: 444

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?

Upvotes: 19

Views: 40227

Answers (6)

Kalana Dananjaya
Kalana Dananjaya

Reputation: 120

I'm a little late to answer, but this would clarify some of the confusions.

  • If you installed the SDK through the Ubuntu terminal using the command sudo apt install android-sdk it will be located at /usr/lib/android-sdk/
  • If you installed the Android SDK through the Android Studio it will be located at /home/<AccountName>/Android/Sdk

Note that both these are the paths for Ubuntu

Upvotes: 1

Khyar Ali
Khyar Ali

Reputation: 337

If you installed it using sudo apt install android-sdk it should be in /usr/lib/.

Upvotes: 4

Gowtham Subramaniam
Gowtham Subramaniam

Reputation: 3478

The Path will be like,

Linux /home/AccountName/Android/Sdk

  • For Linux: ~/Android/Sdk
  • For Mac: ~/Library/Android/sdk
  • For Windows: %LOCALAPPDATA%\Android\sdk

Upvotes: 34

user
user

Reputation: 25798

If you've installed the SDK using:

apt install android-sdk

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

Upvotes: 50

Vince
Vince

Reputation: 61

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

Upvotes: 6

G&#246;rkem M&#252;layim
G&#246;rkem M&#252;layim

Reputation: 1219

It should be in your home folder under Android/Sdkfolder, i.e., ~/Android/Sdk

Upvotes: 3

Related Questions