Android Studio:Installasi di Ubuntu: Difference between revisions
No edit summary |
No edit summary |
||
| 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> | ||