How to create a new Android project in AndroidStudio

  1. After opening AndroidStudio, click File in the upper left corner, and then find New Project as shown below.

Insert picture description here
2. After clicking New Project, the following interface will appear.

The interface has five contents, namely the project name, company information, project storage path, java file package name and whether to support C++ or Kotlin. After filling in the corresponding information, click next.

Insert picture description here
3. After clicking next, you will be asked to select the equipment for the project. There are five options, namely mobile phones, watches, TVs, cars and other devices that can be embedded in the Android system. If you just learn, you usually choose the mobile application, that is, check the first item, and then click next.
Insert picture description here
4. The next step is to select an Activity interface layout displayed on the home page, select a layout according to your needs and click next.

Insert picture description here
5. The next step is to fill in the class name of the first Activity and the file name of the corresponding interface file when starting the project. After filling in, click Finish.
Insert picture description here
6. After clicking Finish, AndroidStudio will help you build the project.

Insert picture description here
7. After the build is completed, the Android project is successfully created. You can see the activity you just created in the java folder in the project directory on the left, and you can see the corresponding interface files in the layout folder.
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_44941105/article/details/103997105