How to create a new module in AndroidStudio

androidStudio new module Module

The first step is to click File -> Project Structure
as shown in the figure.
Select the positions 1 2 3 in the picture and click the plus sign at position 3
The second step is to configure the module
Select 1, and then enter the name of the module in 2.
. The third step is as follows. Configure the imported module in the build.gradle of the app project. Remember to click on the synchronization English code in the upper right corner of the code window to synchronize it. The
Insert image description here
fourth step
Click on position 1 of the project root directory and check whether the name of the module has been added to position 2 in the code.
is the final step. ready to run

Guess you like

Origin blog.csdn.net/mawlAndroid/article/details/129621598