Android Studio:Installasi di Ubuntu: Difference between revisions
Created page with "===Add the audio repository=== After JDK is downloaded and installed, you must install the studio repository by executing the command given below. <syntaxhighlight lang="bash"> sudo add-apt-repository ppa:maarten-fonville/android-studio </syntaxhighlight> The pop-up will appear in the terminal during installation; hit Enter to carry on with adding the repository, or press C + Ctrl to stop adding the repository to the system. ===Update the system cache=== You should us..." |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
==Install Android Studio Using Repository== | |||
===Add the audio repository=== | ===Add the audio repository=== | ||
After JDK is downloaded and installed, you must install the studio repository by executing the command given below. | After JDK is downloaded and installed, you must install the studio repository by executing the command given below. | ||
| Line 20: | Line 22: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo apt install android-studio | sudo apt install android-studio | ||
</syntaxhighlight> | |||
==Install Android Studio Using the Snap== | |||
===Install the snap=== | |||
Ubuntu system already has Snap installed by default. Still, if your system doesn’t have it, install it using the command listed below. | |||
<syntaxhighlight lang="bash"> | |||
sudo apt install snapd | |||
</syntaxhighlight> | |||
===Download and install the JDK=== | |||
As mentioned in the previous technique, you must first install the JDK on the PC prior to setting up Android Studio. Use the below command to do so. | |||
<syntaxhighlight lang="bash"> | |||
sudo apt install openjdk-11-jdk | |||
</syntaxhighlight> | |||
===Install the Android Studio on Ubuntu=== | |||
On your Ubuntu system, run the below command to install the Android Studio utilizing snap: | |||
<syntaxhighlight lang="bash"> | |||
sudo snap install android-studio –classic | |||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 25: | Line 50: | ||
*[https://www.explorateglobal.com/blog/install-android-studio-on-ubuntu-and-linux/ explorateglobal.com] | *[https://www.explorateglobal.com/blog/install-android-studio-on-ubuntu-and-linux/ explorateglobal.com] | ||
[[Category:Linux]] | |||
[[Category:Ubuntu]] | |||
[[Category:Software]] | |||
[[Category:Tutorial]] | |||
Latest revision as of 05:56, 19 November 2022
Install Android Studio Using Repository
Add the audio repository
After JDK is downloaded and installed, you must install the studio repository by executing the command given below.
sudo add-apt-repository ppa:maarten-fonville/android-studio
The pop-up will appear in the terminal during installation; hit Enter to carry on with adding the repository, or press C + Ctrl to stop adding the repository to the system.
Update the system cache
You should use the below command to update the system’s apt-cache after setting the Android repository successfully:
sudo apt update
Install the Android Studio on Ubuntu
It’s now time to use the package manager to download the Android Studio for Ubuntu. The subsequent command will help you install ADB Ubuntu and all of its requirements.
sudo apt install android-studio
Install Android Studio Using the Snap
Install the snap
Ubuntu system already has Snap installed by default. Still, if your system doesn’t have it, install it using the command listed below.
sudo apt install snapd
Download and install the JDK
As mentioned in the previous technique, you must first install the JDK on the PC prior to setting up Android Studio. Use the below command to do so.
sudo apt install openjdk-11-jdk
Install the Android Studio on Ubuntu
On your Ubuntu system, run the below command to install the Android Studio utilizing snap:
sudo snap install android-studio –classic