Use IntelliJ IDEA 13 to build an integrated Android Development Environment graphic tutorial
[Body]
[Development Environment]
Physical server version: Win 7 flagship edition (32-bit)
Java SDK version: jdk1.8.0 _ 20 (32-bit)
Android SDK version: Android 4.4 (API 20)
IntelliJ IDEA version: IntelliJ IDEA 13.1
I. Introduction of IntelliJ IDEA:
In 2013, the IntelliJ IDEA team had established close relationships with many industry-leading development technologies, such as Android, Spring, Scala, and Gradle. in this way, I will be able to stay ahead of the competition, provide developers with the best development tools, and let us experience the most cutting-edge development technology. Let's first introduce these keywords:
- JavaEE 8: In order to fulfill our promise of providing new technical support to all Java developers "first" and "optimum, intelliJ IDEA 13 fully supports Java EE 8-Oracle's latest Enterprise Java platform. In Intellij IDEA, the latest version provides Code Completion support for CDI 1.1, JSF 2.2, JAX-RS 2.0, batch processing and other new specifications. At the same time, it also provides support for new application servers, such as GlassFish 4, Wildfly (formerly famous JBoss), and Tomcat 8.
- Spring: Spring development has gained more help in the new version of IntelliJ IDEA than in the past, with a brand new Spring tool window, this allows you to conveniently navigate between context configuration in the project and its corresponding bean classes. This new tool window also allows users to conveniently browse the URL ing between the MVC controller and the Controller. IntelliJ IDEA 13 also optimizes the performance and simplifies the configuration of the Spring Project.
- Android: One of the most amazing features of the Google I/O conference in 2013 was the preview version of Android Studio, a brand new integrated Android development environment. Android Studio is developed based on IntelliJ IDEA open source community version. The launch of this powerful tool attracted a large number of enthusiastic Android Developers who helped IntelliJ platform to make great progress and enrich many features. IntelliJ IDEA 13 is the first major release launched with the help and supervision of Android Developers. It is in the Code Editor, uidesigner, SQLite database access support has been greatly improved in many aspects.
- Gradle: another important feature enhancement of IntelliJ IDEA 13 is to redefine support for Gradle, including improved project synchronization and Automatic completion of dependency and plug-in code, quick documentation and code generation. IntelliJ IDEA 13 can even use Gradle file to automatically configure Web faces and WAR release packages. You can view the Gradle support functions in this video.
IDEA includes a Free Community version (Open Source version) and a paid Ultimate version, which can be downloaded from the Jetbrains official website. The Ultimate version is much better than the Community version for JavaEE development. But for Android Developers, the Community version is sufficient. IDEA is developed using Java. like Eclipse, IDEA supports Windows, Linux, and Mac OS X.
Eclipse requires the ADT plug-in to support Android development. IDEA provides built-in support for Android development and does not require other plug-ins. Of course, the Android SDK and JDK are still indispensable. It is true that Eclipse is a good open-source software, but if you pursue higher development efficiency and more innovative and dazzling GUI interfaces, this well-known Java development tool is worth it.
I have read several blogs and introduced how to use IntelliJ IDEA to build an integrated Android development environment, but I don't think it is detailed. So I plan to organize a detailed graphic tutorial by myself, I hope it will be helpful for new users (including yourself.
IntelliJ IDEA 12 create a Web project graphic tutorial
Graphic tutorial for Android program development using IntelliJ IDEA
IntelliJ IDEA 12 haXe NME application Configuration Guide
IntelliJ IDEA test mode for running the Play Framework
Install IntelliJ IDEA 12 on Ubuntu 13.04
IntelliJ IDEA 12 create a Java Web project managed by Maven (illustration)
IntelliJ IDEA common shortcut keys and tips
2. Software preparation:
Since Android is to be developed, No matter what development environment is used, Java SDK and Android SDK are essential. 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 32-bit, I download the 32-bit JDK version:
After the download is complete, 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 the Android SDK:
Now the Android SDK is bound with ADT and Eclipse, but it does not matter. We can download it directly. After decompression, we can see that the sdk is placed in a separate directory and can be used separately.
Download Site: http://www.android.com/
Note: The network speed is slow. You know how to get in.
Click the text in the red box above to go to another link:
Click the red arrow at the top to obtain the Android SDK:
After downloading the package, decompress the package, as shown in the following figure:
The red box above is the Android SDK we need.
3. Download and install IntelliJ IDEA:
Download Site: http://www.jetbrains.com/idea/
For Android development, select the Free Community version on the right (for Java Web development, select the Ultimate version on the right ).
After the download is complete, you can install:
For more details, please continue to read the highlights on the next page: