The Android SDK includes: An emulator. Required libraries. Sample source code. Tutorials for the Android OS. Relevant documentation for the Android application program interfaces (APIs). Overall, the Android SDK will give you a fast and reliable development environment for you to work with. Once you've ensured that your operating system is compatible with Android Studio 3.2.1 or higher, download the appropriate Android Studio distribution file. The Android Studio download page auto-detected that I'm running a 64-bit Windows operating system and selected android-studio-ide-1-windows.exe (927 MB) for me to download.
The Android Developer Challenge is back! Submit your idea before December 2.
Setting up Android Studio takes just a few clicks.
First, be sure you download the latest version of Android Studio.
Windows
Install Java For Android Studio
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.
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.24 Aug 2015CPOL
Step by step solution of Android Studio 'No JVM Installation' error
Introduction
After intalling the Android Studio on Windows platform, you might get the following error:
Here, we explain a step by step solution for the same.
1. Create JAVA_HOME Variable
First, you need to test if you have
JAVA_HOME
variable defined. To test it:I. Right click on Computer and choose properties:
II. Choose Advance System Settings from the next window:
III. From the System Properties windows, click on Environment Variable button.
IV. If no
JAVA_HOME
is defined, then define one by clicking on the New button.V. Enter
Open this folder and copy the absolute path of this folder.
JAVA_HOME
as Variable Name and for Variable Value, you need to find Java folder, which could be in here C:Program Files (x86)or C:Program Files depending on the architecture of your OS. In the Javafolder, find folder jdk[version number]. In our case, it is jdk1.7.0_79.Open this folder and copy the absolute path of this folder.
In our case, the path is C:Program Files (x86)Javajdk1.7.0_79, so we will copy this path and enter in Variable Value and click okay.
VI. Now, you will have
JAVA_HOME
variable defined. Click OK button.Change the Target File
Now start Android studio again, if you still face the error, go through the following steps:
![Download Download](/uploads/1/2/6/8/126881805/353732272.jpg)
I. Click on Start and right click the Android Studio icon, and choose properties.
Download Android Studio And Sdk Tools Android
II. In the Properties Window, check the value of target, in our case, it is:
Delete 64 from the target path and click OK, as shown below:
In our case, the new value for target is:
Now, start Android Studio again. Hopefully, the error would have gone.