![]() ![]() Generally, you will use android studio to run the android SDK command tool, but sometimes you may need to invoke those android SDK commands in the terminal, so please follow the below steps to add android SDK command execute path in Linux PATH system environment variable value then you can invoke them in the command line. Add Android SDK Command Tool In System PATH. ![]() If you are a beginner, you do not need to change them at all.Ĥ. Then you can change the android studio project SDK and JDK folder in the popup dialog window SDK Location & JDK location section.Click File -> Other Settings -> Default Project Structure… menu item in the android studio top menu bar.If you want to change the default Android SDK and JDK to other folders, you can follow the below steps. When the android studio is started, click File -> New -> New Project to create a new android project. Specify Android SDK And JDK Path In Android Studio. Maybe there will have some error messages are printed in the terminal but it does not matter. studio.sh command in the terminal, then you can see the android studio startup as normal. CD into the bin folder in the android-studio folder.Open a terminal and go to the android studio unzipped folder.Android Studio is the official Google IDE used for android development. Start android studio on Linux is also not similar to Windows or macOS, you should run the start script in the terminal to start it. Step by Step guide to installing Android Studio on Linux. Now the android studio has been installed successfully. Please note there is also another subfolder named android-studio in the above folder.Unzip the download zip file to a local directory for example /home/zhaosong/WorkSpace/Tool/android-studio-ide-181.5056338-linux.Download related android studio version from android studio official website.Now that you are all ready, execute the following command to install and run Android Studio.1. If you are having any difficulties with installing, setting up, or understanding Snap, please refer to Snaps in Linux: A Basic Introduction To download Android Studio using Snap, first make sure that snaps are installed on your distribution. Snaps are a great way to install the same package on multiple distributions without all the hassle of extracting and setting up the application. Just for housekeeping, it is also a better idea to keep the installation directory in a proper directory like /opt/ (which is reserved for the installation of add-on application software packages) rather than randomly keeping it in Downloads. Now you can just type android-studio in the terminal, and it will start Android Studio. For that reason, we are making a binary named android-studio in /usr/local/bin and adding a soft link to the original studio.sh file. ![]() Sudo ln -s /path/to/extracted/directory/bin/studio.sh /usr/local/bin/android-studioĮxplanation : All the binaries that are in /usr/local/bin directory can be executed from anywhere in the system. In the tutorial we will go through all of them. There are multiple ways of installing Android Studio on Linux. In this article we will learn how to install and setup Android Studio on Linux, so you can get started with your app development journey.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |