1. Write at the front

Although there are still a lot of people developing Java using Ecplise, it is impossible for me to go back to Ecplise after using Android Studio. It will never happen…

Creating a Java project is much easier than creating a Web project, but I decided to document it.

Step 3.

2.1

First enter the IDEA creation project interface, select Java on the left, select JDK version on the upper right, and do not check any options below.

2.2

Then enter the following interface, whether to choose to generate template, there are two options, automatic generation of main function, and automatic generation of Hello world, if selected must select one, put two boxes to check the generated project respectively. The experience is not very good, especially for the template that automatically generates Hello World, so you don’t need to check it here.

Uncheck the template

2.3

Here is the most important, and the general AS build Android project is not quite the same.

  • At first, I thought the Project name was similar to the root directory of the Project created by AS, and then I found it was wrong after the creation. It is not. Here, it can still be considered AS the root directory of a Project, and the largest level of a Project. The following figure

  • Module name, kind of like the APP Model that AS creates the project, but we’ll use it AS the name of the project

2.4

Finally, the project is generated, as shown in the following figure.

Create a new class test

Ok!