Android SDK Ubuntu default path
Asked Answered
M

6

17

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?

Maurilla answered 4/12, 2017 at 9:53 Comment(0)
C
34

The Path will be like,

Linux /home/AccountName/Android/Sdk

  • For Linux: ~/Android/Sdk
  • For Mac: ~/Library/Android/sdk
  • For Windows: %LOCALAPPDATA%\Android\sdk
Carmine answered 4/12, 2017 at 9:59 Comment(1)
For my case on Ubuntu 16.04, it's ~/Android/SdkLuehrmann
H
50

If you've installed the SDK using:

apt install android-sdk

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

Hwang answered 3/10, 2018 at 3:14 Comment(0)
C
34

The Path will be like,

Linux /home/AccountName/Android/Sdk

  • For Linux: ~/Android/Sdk
  • For Mac: ~/Library/Android/sdk
  • For Windows: %LOCALAPPDATA%\Android\sdk
Carmine answered 4/12, 2017 at 9:59 Comment(1)
For my case on Ubuntu 16.04, it's ~/Android/SdkLuehrmann
A
6

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

Aspirate answered 3/6, 2019 at 3:11 Comment(0)
B
4

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

Breakwater answered 20/2, 2020 at 19:15 Comment(1)
What was the point in duplicating my answer? No new info here.Hwang
Z
3

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

Zared answered 4/12, 2017 at 9:55 Comment(0)
P
1

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

Pinero answered 10/9, 2021 at 7:35 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.