The Android Developer Challenge is back! Submit your idea before December 2.
- Can I Download Android Studio For Ubuntu 16 04
- Download Android Studio For Ubuntu 14.04 64 Bit
- Ubuntu 16.04 Android Studio
Jul 17, 2018 Install Android Studio on Ubuntu using Ubuntu Software center – Install Android Studio on Ubuntu 18.04. You would need to enter your password to install Android Studio. Install Android Studio on Ubuntu using Ubuntu Software center – Authorize the Android Studio installation.
Setting up Android Studio takes just a few clicks.
First, be sure you download the latest version of Android Studio.
Windows
To install Android Studio on Windows, proceed as follows:
- If you downloaded an
.exe
file (recommended), double-click to launch it.If you downloaded a.zip
file, unpack the ZIP, copy the android-studio folder into your Program Files folder, and then open the android-studio > bin folder and launchstudio64.exe
(for 64-bit machines) orstudio.exe
(for 32-bit machines). - Follow the setup wizard in Android Studio and install any SDK packages that it recommends.
That's it.The following video shows each step of the setup procedure when using the recommended
.exe
download.As new tools and other APIs become available, Android Studio tells youwith a pop-up, or you can check for updates by clicking Help >Check for Update.
Mac
To install Android Studio on your Mac, proceed as follows:
- Launch the Android Studio DMG file.
- Drag and drop Android Studio into the Applications folder, then launch Android Studio.
- Select whether you want to import previous Android Studio settings, then click OK.
- The Android Studio Setup Wizard guides you through the rest of the setup, which includes downloading Android SDK components that are required for development.
That's it.The following video shows each step of the recommended setup procedure.
As new tools and other APIs become available, Android Studio tells youwith a pop-up, or you can check for updates by clicking Android Studio> Check for Updates.
Note: If you use Android Studio on macOS Mojave or later, you might see a prompt to allow the IDE to access your calendar, contacts, or photos. This prompt is caused by new privacy protection mechanisms for applications that access files under the home directory. So, if your project includes files and libraries in your home directory, and you see this prompt, you can select Don't Allow.
Linux
To install Android Studio on Linux, proceed as follows:
- Unpack the
.zip
file you downloaded to an appropriate location for your applications, such as within/usr/local/
for your user profile, or/opt/
for shared users.If you're using a 64-bit version of Linux, make sure you first install the required libraries for 64-bit machines. - To launch Android Studio, open a terminal, navigate to the
android-studio/bin/
directory, and executestudio.sh
. - Select whether you want to import previous Android Studio settings or not, then click OK.
- The Android Studio Setup Wizard guides you through the rest of the setup, which includes downloading Android SDK components that are required for development.
Tip:To make Android Studio available in your list of applications, selectTools > Create Desktop Entry from the Android Studio menu bar.
Required libraries for 64-bit machines
If you are running a 64-bit version of Ubuntu, you need to install some 32-bitlibraries with the following command:
If you are running 64-bit Fedora, the command is:
That's it.The following video shows each step of the recommended setup procedure.
Can I Download Android Studio For Ubuntu 16 04
As new tools and other APIs become available, Android Studio tells youwith a pop-up, or you can check for updates by clicking Help >Check for Update.
Chrome OS
Follow these steps to install Android Studio on Chrome OS:
- If you haven't already done so, install Linux for Chrome OS.
- Open the Files app and locate the DEB package you downloaded in theDownloads folder under My files.
- Right-click the DEB package and select Install with Linux (Beta).
- Select whether you want to import previous Android Studio settings, thenclick OK.
- The Android Studio Setup Wizard guides you through the rest of thesetup, which includes downloading Android SDK components that arerequired for development.
- After installation is complete, launch Android Studio either from theLauncher, or from the Chrome OS Linux terminal by running
studio.sh
inthe default installation directory:/opt/android-studio/bin/studio.sh
That's it. As new tools and other APIs become available, Android Studio tells youwith a pop-up, or you can check for updates by clicking Help >Check for Update.
Note: Android Studio on Chrome OS currently supports deploying your app only toa connected hardware device. To learn more, read Run apps on a hardwaredevice.SpaceScout Android is developed using Android Studio.
This is a working guide to get Android Studio up and runnning on Ubuntu. Android Studio is provided for free by Google and powered by the IntelliJ Platform. Use of Eclipse for Android development has since been deprecated.
TOC
Install Java
- Android Studio requires JRE 6 and Oracle JDK 7 (not OpenJDK) to function properly. Absence of JRE 6 will prevent it from starting. Absence of Oracle JDK 7 will prompt stability warnings.
- Check the version(s) of Java you have.If the result contains these:you have what you need and you can skip to the next section. Else, continue to install Java
- Update the package index.
- Install JDK 6.
- Install Oracle JDK 7. The Oracle JDK is the official JDK; however, it is no longer provided by Oracle as a default installation for Ubuntu.
- Check that you have everything withand you should see at least:
Install Android Studio
You have two options.
(1) Getting the package from Google
- Go to the Android Developers site and download the full package (not just the SDK) into a directory of your choosing.
- Unpack/Extract the ZIP file into the selected directory. Navigate to android-studio/bin/ in Terminal and run Android Studio
(2) Installing with apt-get
Provided by Paolo Rotolo
Student Developers should consult their supervisor before adding third-party repositories
Student Developers should consult their supervisor before adding third-party repositories
If no prompt pops up, go to 'usr/share/applications' to find the .desktop and run the app. Right click on the icon on the desktop sidebar and 'Lock to Launcher'.
First-time Prompts
- Complete Installation I do not have..Unless you do.
- Android Setup Wizard
- Install Type Standard
- Emulator Settings (We'll deal with this in the next steps)
- License Agreement Accept android-sdk-license and Finish
Your Sdk folder will be in 'home/Android'
Update your Android Studio
- Go to Configure > Settings > Updates OR File > Settings > Updates
- Check 'Check for updates in channel'
- Set the channel to Stable Channel unless you're feeling adventurous.
- Check Now
Install the SDKs
- Go to Configure > SDK Manager OR Tools > Android > SDK Manager
- Install these packages:
Revisions are latest at the time of writing. Let's just say you'll take the latest of these or something similar.- Tools
- Android SDK Tools [Rev 24.1.2]
- Android SDK Tools Platform-tools [Rev 22]
- Android SDK Build-tools [Rev 21.1.2]
- Android SDK Build-tools [Rev 19.1]
- Android SDK Build-tools [Rev 19.0.3]
- Android 5.1
- Documentation for Android SDK [API 22, Rev 1] --useful to have
- SDK Platform [API 22, Rev 1]
- Google APIs [API 22]
- Google APIs Intel x86 Atom_64 System Image [API 22, Rev 1]
- Google APIs Intel x86 Atom System Image [API 22, Rev 1]
- Android 5.0.1 (API 21)
- SDK Platform [API 21, Rev 2]
- Google APIs [API 21, Rev 1]
- Google APIs Intel x86 Atom_64 System Image [API 21, Rev 4]
- Google APIs Intel x86 Atom System Image [API 21, Rev 4]
- Android 4.4.2 (API 19) --for Android KitKat minimum support
- SDK Platform [API 19, Rev 4]
- Google APIs (x86 System Image)
- Android 4.1.2 (API 16) --for Android JellyBean minimum support
- SDK Platform [API 16, Rev 5]
- Google APIs [API 16, Rev 3]
- Extras
- Android Support Repository [Rev 12]
- Android Support Library [Rev 22]
- Google Play Services [Rev 23]
- Google Repository [Rev 16]
Accept the agreements by selecting the top level paths. - Tools
Install Intel's KVM for Better AVD Performance
The Android Virtual Device (AVD) lets you test the app on the computer instead of using your own device. 8GB of RAM seems to work well. This setup guide (based on Intel's) is mainly to make the AVD work fast and smooth using hardware virtualization.
- Check if your processor supports hardware virtualization in Terminal:Output 0 means no (sadface). If this is the case, you may prefer to use an actual Android device for testing. And you can skip the next steps of AVD.
- Install cpu-checker
- Check if your cpu supports kvmIf you see:it means you can run your virtual machine faster with the KVM extensions. (Yeay)But if you seethen you need to go to the BIOS Setup and enable VT.
- Enabling VT (done with HP Compaq 8200)
- Restart the computer.
- Enter the BIOS Setup (Computer Setup in HP) by spamming F10 on startup.
- In Setup, go to Security > System Security.
- Enable these:
- Save changes and exit.
- Install the KVMYou may ignore the Postfix Configuration prompt by selecting 'No Configuration'.
- Add your local user account to the group kvm and libvirtd.In Ubuntu 16.10, the group has been renamed to libvirt instead of libvirtd.After the installation, you need to relogin so that your user account becomes an effective member of kvm and libvirtd user groups. The members of this group can run virtual machines.Android Studio Requires
mksdcard
utility to create AVD. If you're running64-bit Linux
OS. It won't have these packages installed by default.Install those packages. - Verify installation in Terminal:If you see:installation was a success! Just a little bit more.
- Add the emulator command line options.
- In Android Studio, go to Run > Edit Configurations.
- To set as global default for all projects, select 'Android Application' under 'Defaults'.
- Go to the emulator tab, check 'Additional command line options' and add:
Download Android Studio For Ubuntu 14.04 64 Bit
Create Your AVD
Ubuntu 16.04 Android Studio
- In Android Studio, go to Tools > Android > AVD Manager.
- Click on 'Create Virtual Device'.
- Choose a Phone (Nexus devices are pretty standard).
- Choose a System Image. Lollipop (API 22) is the latest at the time of typing. The target should be 'Google APIs (Google Inc.)..' for our app to function with Google Maps.
- In AVD (Verify Configuration),
- Check 'Use Host GPU'.
- Show Advanced Settings and make sure RAM is more than 1024 (but max at 1024 if your OS is 32-bit).
- Finish. This shouldn't take too long..
- Start up your AVD using Terminal. Navigate to your Android 'Sdk/tools' folder (usually in ~/Android). Put in the path to your 'Sdk/tools/lib' folder for 'LD_LIBRARY_PATH' below:For those with a 32-Bit system, modify the command to below:'Nexus_5_API_21' is a sample name for the AVD created. Replace it with your AVD's name replacing spaces with underscores.It shouldn't take more than a minute to start up. If the screen goes all gibberish, just swipe up (Android Lollipop unlock gesture) and the home screen should appear before you.
Yeay! Now you can continue to setting up for Google Maps.
Trying to run the SpaceScout app at this point will most probably fail.
Trying to run the SpaceScout app at this point will most probably fail.