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 Set Up Android Studio on Linux
- Download and unpack the ZIP file on to your PC. The installer is found at the Android Studio home page.
- Launch Android Studio by navigating to the
/android-studio/bin/
directory in Terminal (Applications > Accessories > Terminal) and execute the following:studio.sh
- Add
android-studio/bin
to your PATH environmental variable so that you can start Android Studio from any directory. - Follow the setup wizard and install SDK tools
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
How to Install Android SDK
First, download the stand-alone SDK files to your Mac, Windows or Linux PC. Next…
Note: All of the following steps will take place on your PC. You cannot install Android SDK on your phone or tablet.
Linux
- Unpack the .zip file.
- Make a note of the location of the SDK directory on your system so that you can refer back to it easily when using the SDK tools from the command line.
No comments:
Write comments