Android Studio is an IDE for Android development. The instructions summarize how to install Android Studio on Linux: unpack the archive, run studio.sh from the bin directory to start it up, optionally add the bin directory to the PATH, and optionally adjust JVM heap size by editing studio.vmoptions. The instructions also provide an optional way to change the locations of configuration and system directories.
Android Studio is an IDE for Android development. The instructions summarize how to install Android Studio on Linux: unpack the archive, run studio.sh from the bin directory to start it up, optionally add the bin directory to the PATH, and optionally adjust JVM heap size by editing studio.vmoptions. The instructions also provide an optional way to change the locations of configuration and system directories.
Android Studio is an IDE for Android development. The instructions summarize how to install Android Studio on Linux: unpack the archive, run studio.sh from the bin directory to start it up, optionally add the bin directory to the PATH, and optionally adjust JVM heap size by editing studio.vmoptions. The instructions also provide an optional way to change the locations of configuration and system directories.
------------------------------------------------------------------------------ 1. Unpack the Android Studio distribution archive that you downloaded to where you wish to install the program. We will refer to this destination location as your {installation home} below.
2. Open a console and cd into "{installation home}/bin" and type:
./studio.sh
to start the application. As a side effect, this will initialize various
configuration files in the ~/.AndroidStudio3.5 directory.
3. [OPTIONAL] Add "{installation home}/bin" to your PATH environment
variable so that you may start Android Studio from any directory.
4. [OPTIONAL] To adjust the value of the JVM heap size, create
~/.AndroidStudio3.5/config/studio.vmoptions (or studio64.vmoptions if using a 64-bit JDK), and set the -Xms and -Xmx parameters. To see how to do this, you can reference the vmoptions file under "{installation home}/bin" as a model.
[OPTIONAL] Changing the location of "config" and "system" directories
------------------------------------------------------------------------------ By default, Android Studio stores all your settings under the ~/.AndroidStudio3.5/config directory and uses ~/.AndroidStudio3.5/system as a data cache. If you want to change these settings,
1. Open a console and cd into ~/.AndroidStudio3.5/config
2. Create the file "idea.properties" and open it in an editor. Set the
idea.system.path and/or idea.config.path variables as desired, for example: