Reprint Address: http://blog.csdn.net/hyr83960944/article/details/37519299
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, right-click to find no delete,
Why there is no delete button, unscientific Ah, is not the bug in Android studio or the design team is poorly considered. 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.
There are two ways to remove:
1, direct, select the module you want to remove, and then press the red '-' button, this time just to remove the module from the module list, and not in the Android Studio directory structure removed:
2, direct editing settings.gradle, of course, this method is not very recommended, because sometimes you will find that you finished editing, point sync gradle (circled in the picture), of course, there will be automatic sync, will always be in Gradle sync State, This is actually the problem of the network.
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.
[Android Studio] How Android Studio Removes module (reprinted)