Use Android Studio to build an Android integrated development environment graphic tutorial
[Body]
I have talked about how to use IntelliJ IDEA 13 to build an integrated Android development environment. The system was reinstalled yesterday, so to keep up with the times, let's try Android Studio today. I have read several articles about how to use the Android SDK to build an integrated Android development environment, but I don't think it is detailed. I plan to organize a detailed graphic tutorial by myself, I hope it will be helpful for new users (including yourself.
[Development Environment]
Physical server version: Win 7 flagship edition (64-bit)
Java SDK version: jdk1.8.0 _ 20 (64-bit)
Android SDK version: Android 4.4 (API 20)
Android Studio version: Android Studio Beta v0.8.6
Note: The physical server version and Java SDK version must be the same, that is, both 64-bit and 32-bit.
I. Introduction of Android Studio:
Android Studio IDE (integrated development environment for Android platform) was first released at the 2013 GoogleI/O conference ). It is based on the Intellij IDEA development environment and aims to replace Eclipse and ADT (Android Developer Tools) to provide developers with better development tools. Since Google has been promoting it, I believe it is expected to catch up with Eclipse soon.
- Compared with Eclipse, Android Studio IDE has its own features:
- Provides better support for UI design and code writing, allowing you to easily adjust various resolutions on the device.
- The ProGuard tool and application signature are also supported.
- However, currently, Android Studio cannot manage multiple projects in the same window. Each project opens a new window. I guess this is a reference to Intellij IDEA and Google will not make any adjustments in the near future.
- It is really good to support the Gradle automated build tool, but it still takes some time for developers who just transferred from the Eclipse platform to learn and adapt.
2. Software preparation:
Since Android is to be developed, No matter what development environment is used, Java SDK and Android SDK are essential (Android SDK has been integrated in Android Studio ). After the download, my software package is as follows:
1. Java SDK installation:
Download Site: http://www.oracle.com/index.html
Because my operating system is 64-bit, I download the 64-bit JDK version:
After the download, start the installation:
Select the installation path based on your preferences.
You need to configure the environment variables later. For details, refer to another blog: Java configuration-JDK Development Environment establishment and environment variable configuration.
2. Download and install Android Studio:
Download Site: http://developer.android.com/index.html
Click the text in the red box above to go to another link:
Click the red box to bring up the following interface:
Click the red box to start downloading:
After the download is complete, you can start the installation:
, Select the appropriate installation path, and then continue:
After the software is installed, the Android SDK will automatically appear in the installation directory:
For more details, please continue to read the highlights on the next page: