Home » Linux » What is an appropriate directory in which to install Android SDK?

What is an appropriate directory in which to install Android SDK?

Posted by: admin November 30, 2017 Leave a comment

Questions:

I don’t use java much so what are the common (best practice) locations to install components like this. I want to put them in a system directory so multiple users have access.

Answers:

Common locations are /opt, /srv, and /usr/local. I tend to lean toward /usr/local.

Note that the Android SDK doesn’t really require you to install much, it’s mostly self-contained. All you need to do is tell Eclipse where it is. You may also want to add the tools and/or platform-tools directories to the system-wide PATH so that your users can use adb and other tools.

See http://developer.android.com/sdk/installing.html.

Questions:
Answers:

On Linux, I typically use /usr/local/android-sdk, but anywhere that makes sense and that won’t get clobbered by your system works. Just be aware that it may actually make sense to put the SDK in a per-user location, since it requires write access to create a VM image and to download SDK updates.

Questions:
Answers:

It doesnt matter where you put the sdk. Just put it in any folder where all user’s can access it…