10/2/2023 0 Comments Android studio linux![]() ![]() Well, you have successfully installed Android Studio on your Ubuntu machine from a source file, but there is a complication to run an android studio. Next step is to configure android studio. ![]() Once the file is Downloaded from Internet, Open terminal and go to the directory where file is stored, after that extract the configuration file at /opt directory to prevent from making any unwanted changes or deletions of files: $ sudo tar xvf -C /opt/ Step 3:- Install android studioĪfter that, change your current working directory to the below path and run the script called studio.shto Install Android Studio. ![]() When you pass the above command, it will ask your consent whether you want to add PPA or not? Simply press Enter key to continue.Īccepts terms and conditions Step 2:- Extract android studio tar.gz To add PPA key, do-copy paste the below code, and you will be to Install it: $ sudo add-apt-repository ppa:maarten-fonville/android-studio You cannot directly install Android Studio from Ubuntu Official Repository until and unless you don’t add PPA Key. OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode) Install Android Studio from Ubuntu Official Repository Once the java installation process gets completed pass the -version command to check version details: $ java -version openjdk version "1.8.0_282" You can simply install OpenJDK with a single command: $ sudo apt install openjdk-8-jdk The above output confirmed that we are missing OpenJDK, so we need to proceed with Installation. ![]() Sudo apt install openjdk-8-jre-headless # version 8u282-b08-0ubuntu1~20.04 Sudo apt install default-jre # version 2:1.11-72, or Once you throw a command, you should expect to get the Install JDK version, In case of the following output on the terminal screen: Command 'java' not found, but can be installed with: If a question arises, What is OpenJDK? In short, OpenJDK (OpenSource Java Development Kit) makes work easier to Implement Java features in Applications.įirst, we need to verify whether JDK is already Installed or not to check pass the below command: $ java -version To run Android Studio on your Ubuntu system, android require OpenJDK. We will not ask much from your end, Simply you should be able to install applications from the Internet on your Ubuntu Systems rest assured to us, and If you don’t how to add users into the sudo group in Linux learn more. After all, It’s up to you which method you will choose.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |