1. Add module (at this point can be literally translated as "module", paraphrase "other works")
2. Delete Module
You know, the non-human design of Android studio, resulting in the removal of a module is cumbersome.
When you want to delete a module in Android studio, it's customary to select the module you want to delete and right-click to find the delete. But in Android Studio you select module and the right button will find no delete.
Actually, there's no Delete button. The main reason is because Android Studio has a protection mechanism for module, is a module you can not be arbitrarily deleted, to delete you must first remove the module from the module list.
2.1 Step 1 Remove the module association method for a project 1
File----and actions in execution
The disadvantage of this method is that the file for this project cannot be deleted on disk.
Edit Settings.gradle
Edit the Settings.gradleto remove the useless include
2.2 Step 2 Delete the file contents of the "module" located in this project file directory
After performing this step, the Delete button is out. This time you will find the app that the icon on the small phone is not changed, meaning is removed from the module list, not removed is still no delete button of the ha.
Note: The Delete button on this side must be cautious ah, you this is deleted on the deleted, the hard disk is also deleted.
Reference articles
1. How Android Studio removes module
Add and remove Android Studio Module