- After opening AndroidStudio, click File in the upper left corner, and then find New Project as shown below.
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.
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.
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.
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.
6. After clicking Finish, AndroidStudio will help you build the project.
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.