ergobad.blogg.se

Where to install android studio ubuntu
Where to install android studio ubuntu





where to install android studio ubuntu

Hi If you want to install android studio on ubuntu you shoudl first have Java JDk on ubuntu.įirst you have to install Oracle on Java 7 (JDK and JRE)ĭownload Java SDK 32 or 64 bit depending upon your version. I'm reproducing my answer here to ensure a full complete answer exists rather than just a link. Note: This question is similar to the AskUbuntu question "How to install Android Studio on Ubuntu?" and my answer equally applies. Would work on 14.04LTS too if you install support for snap packages first. Do a restart (or just logout and then log back in) for the PATHs to take effect. For setting PATHs, edit your ~/.profile file: gedit ~/.profileĪnd then add the following lines to it: # Android SDK Tools PATHĮxport PATH="$/Android/Sdk accordingly. Might be needed by 3rd party dev platforms like React Native, Ionic, Cordova, etc and other tools too. This step might be useful if you want Android SDK's developer tool commands like adb, fastboot, aapt, etc available in Terminal. From here on, it's pretty straightforward, just click next-next and you'll have the SDK downloaded and installed. Select Standard install to get the latest SDK and Custom in-case you wanna change the SDK version or its install location. The Setup Wizard'll guide you through installation: Open the newly installed Android Studio from dashboard:ĭon't need to import anything if this is the first time you're installing it: Or if you prefer the command line way, run this in Terminal: sudo snap install -classic android-studio Search "android studio" in Ubuntu Software, select the first entry that shows up and install it: The snap package bundles the latest Android Studio along with OpenJDK and all the necessary dependencies. No need to download Android Studio as zip, try to manually install it, add PPAs or fiddle with Java installation. The easiest method to install Android Studio (or any other developer tool) on Ubuntu is to use the snap package from Ubuntu Software store. Select the latest API (to test against target build, e.g API 19 (Android 4.4.2)) and some packages in Extras (Android Support Library and Android Support Repository). Click on Configure -> SDK Manager to open Android SDK Manager. You need to install some SDK before you jump into building android apps. To make sure, it’s installed successfully, open a terminal and type (you should get the version number of the jdk you’ve installed e.g javac 1.8.0_11) javac -versionĭownload the Android Studio package for Linux and extract it somewhere (e.g home directory). Sudo apt-get install oracle-java8-set-default Sudo apt-get install oracle-java8-installer

where to install android studio ubuntu where to install android studio ubuntu

sudo add-apt-repository ppa:webupd8team/java

where to install android studio ubuntu

Below are the steps to install Android Studio in Ubuntu system:įirst, install Oracle JDK 8 (although you could also choose OpenJDK but it has some UI/performance issues) using WebUpd8 PPA.







Where to install android studio ubuntu