First, install the JDK
- When developing Android applications, only the Java runtime (Java Runtime Environment,jre) is not enough, requires a full JDK (JDK contains the JRE), and requires its version above JDK 6, in the development of Android 5 and later versions, JDK 7 and above are required.
- If the JDK is unavailable or the version is lower than JDK 6, download the Java SE SDK 7.
- Using JDK 7 and later eliminates the need to set environment variables.
- If you install JDK 6, you need to use Java commands under CMD and compile and run the program, you can configure environment variables (specific steps to query the relevant blog).
- Download JDK URL: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Second, install Android Studio
- After installing the JDK, you can then install Android Studio, you can go to the Baidu Software center download.
- Android Studio is an integrated development environment for developing programs for the Android platform.
- Android Studio is based on JetBrains IntelliJ idea, similar to Eclipse ADT, which develops special customizations for Android.
Third, install the SDK
- After installing the JDK and Android studio, if the SDK is not included in the previously installed Android studio, there are two ways to install the SDK (which can be installed in Android Studio and can be installed independently). We tend to download Android Studio, which contains the SDK.
- The Android SDK (software development Kit) provides development components for developing Android apps on Windows, Linux, and Mac platforms.
- Android supports all platforms and includes a variety of tools for developing mobile apps on the Android platform.
- The Android SDK includes not only the Android emulator and the tool plug-in for Android studio development, but also a variety of tools for debugging, packaging, and installing applications on the emulator.
- The Android SDK is based primarily on the Java language, and users can use the Java language to develop software applications on the Android platform.
- Use some of the tools provided by the SDK to package it or apk files used by the Android platform, and then use the emulator (Emulator) in the SDK to simulate and test the software's performance and performance on the Android platform.
So far, the development environment for Android applications has been installed.
Configuring the Android App development environment