Android Studio really seems to prefer to behave like it's running on a single-user system. Is there a good way to install it and the Android SDK on a Linux system in a way that minimizes the amount of per-user data it creates?
I've got a bunch of Fedora Linux client machines with hundreds of accounts. The accounts have relatively-small disk quotas and the default way to run Android Studio ends up dropping 2-3 GB of data into each user's home directory, between the SDK and the AVD images. I would like, if possible, to have Android Studio, the SDK, and the default AVD images installed centrally on each system (or, even better, on a NFS share that they all mount), in such a way that when a user starts Android Studio from the standard menu entry, everything just works without the user having to manually configure anything pertaining to the particulars of the system installation.
The systems that run Android Studio are all Fedora 23. (The NFS server is Scientific Linux 6, but that shouldn't really matter.)
All libraries required by Android Studio can be shared.
Open your Android Studio instance and go to:
There you'll see on left pane "SDK Location" entry. You can set there paths to:
If you don't want user to manually setup Android Studio setup use skeleton files and create paths for users that links to shared folder.