Everyone might be aware Google launched its new Android Studio based on IntelliJ IDEA, which is similar to Eclipse with the ADT Plugin, that provides integrated Android developer tools for development and debugging. If you have downloaded and installed the new Android studio and struggled to launch it for the first time, then here’s the solution for it. For instance, after the successful installation, if you find the application doesn’t seem to respond or open at all, then the reason might be due to missing JAVA_HOME environment variables. To fix, follow the below steps:
Step 1: Open the command window by typing ‘cmd‘ in the Start menu search box.
Step 2: Now change the directory to the Android studio installation.
Step 3: Type ‘studio.bat‘ and hit enter. If the JAVA environment variables are not set properly, then you should get an error message as below.
Step 4: So, it is clear that Android studio is not able to read the JDK location. All you need to do is, set the JAVA_HOME and JDK_HOME environment variables by following the steps mentioned in this guide.
Remember to point JAVA_HOME and JDK_HOME to the valid JAVA installation path. In most cases, only one variable should suffice, but why to take risk?
Android Studio 2.2.2 is now Available. On Oct 19th, we just released Android Studio 2.2.2 to the canary, dev, beta, and stable channels. This build contains a handful of bug fixes on top of Android Studio 2.2.1. Android API 25 Support - Basic support for API 25 inside Android Studio to support the Android 7.1 developer preview. This PC program can be installed on 32-bit and 64-bit versions of Windows XP/Vista/7/8/10. The common filenames for the program's installer are studio64.exe, studio.exe, android-studio-2-1-2.exe, chrome.exe or IntelliJConfigure.exe etc. It’s compatible with major Windows versions like Windows 7, Windows 10 and others (64-bit only as 32-bit has been deprecated) with at least 3 GB RAM. Android Studio offers all the basic features of a real Android device, which is why it’s popular for developing apps. You can dial and receive calls and text messages.
Step 5: Close the existing command window. This step is very important, as the newly set variable will not reflect otherwise.
Step 6: Re-launch the command window and type the below command to ensure that the environment variables are set properly.
Step 7: Now change the directory to the Android studio installation.
Step 8: Type ‘studio.bat‘ and hit enter. Now the Android studio will launch and you should see a screen similar to the one below.
That’s it! Happy Android app-ing!
Updated on September 1, 2017Tagged: androidWas this article helpful?
YesNoRelated Articles
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.
Android Studio 3.1 For Windows 7 32 Bit Pc
Linux
Android Studio 3.1 Download For Windows 7 32 Bit
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).
- If you have installed Android Studio before, select whether you want toimport previous Android Studio settings, then click 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.