However it’s not widely used, and seems to violate the principle of least privilege. You may find setting write permissions for all users convenient when it comes to updating Android Studio. Google is a registered LANANA provider, so in order to comply the Linux FSH contract (part 3.13 /opt) I would like to suggest unpacking the archive to the google/android-studio folder: sudo unzip ~/Downloads/ -d /opt/google/ģ.1 Change write permission for Android Studio folder Nothing special, just wait until loading is finished :) You can get Android Studio archive from here. Downloading and Unpackaging Android Studio The following command should be run in the first place, so we can avoid some problems with the AVD tool in future: sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386 Since Android Studio 2.2 was released you won’t need to install any JDK yourself in most cases, since it’s brought with the IDE. In the eve of 2018, the most voted answer is still awesome, but seems a bit outdated, and as I run into this recently, I decided to share my fresh experience here. Would work on 14.04 LTS too if you install support for snap packages first. Should technically work on any Ubuntu version with snap support (16.04 LTS and newer). 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: Neat and clean! Step 1: Install Android Studio This 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, run umake and other scripts, add PPAs or fiddle with Java installation. The easiest method to install Android Studio on Ubuntu is to just use the snap package from Ubuntu Software store.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |