How to Install Android Studio
Before we get started, you’ll need to ensure that you have installed JDK 6 or higher ( JDK7 is required for Android 5.0 and higher) on your PC.
Note: All of the following instructions, as well as the installation tutorials are for your PC. You can’t download or install Android Studio on your Android device.
To check your version, open terminal (OS specific details below) and type:
javac -version
If the JDK doesn’t show up, or you have an older version and would like to upgrade, download JDK here.
How to Install Android Studio on Windows
- Download and launch the .exe file to your PC from the Android Studio home page.
- Follow the instructions on the setup wizard to install Android Studio.
- If asked to point to where Java is installed, you need to set an environment variable in order to direct the installer to the proper location. To do that, select Start menu > Computer > System Properties > Advanced System Properties. From there you’ll open the “Advanced” tab and click “Environment Variables.” Here you’ll add a new system variable titled JAVA_HOME that points to your JDK folder.
For example:
C:Program FilesJavajdk1.7.0_21
The actual tools and other SDK packages are stored outside of the directory that contains Android Studio. To access the tools directly, open the command prompt (Apps > Windows System > Command Prompt) and use the following to find them:
Users<user>sdk
Adding & Installing Packages
- Click “SDK manager” in the toolbar and select one of the following from the Tools directory:
- Android SDK Tools
- Android SDK Platform-tools
- Android SDK Build-tools (select the highest version)
- And/Or select the following from the Android X.X (latest version) folder:
- SDK Platform
- System image for emulation, such as ARM EABI v7a System Image
- Click Install X packages
- Accept the license agreement
- Click Install
- Android SDK Tools
- Android SDK Platform-tools
- Android SDK Build-tools (select the highest version)
- SDK Platform
- System image for emulation, such as ARM EABI v7a System Image
No comments:
Write comments