When you want to delete a module in Android studio, it's customary to select the module you want to delete. Right-click to find the delete. But
In Android Studio you select module, right-click to find no delete,
Why there is no deletebutton. Unscientific, is it a bug in Android studio or poorly conceived by the design team? Actually, there's no deletebutton. The main reason is that 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 it. Select the module you want to remove, then press the red '-' button, but remove the module from the module list at this time. is not removed in the Android Studio folder structure:
2, direct editing settings.gradle, of course, such a way is not very recommended. Because sometimes you will find that you finish editing, point sync gradle (circled in the picture), of course, occasionally will own active sync, will always be in the Gradle sync state, this reason is actually the network problem.
After running this operation, DeleteButton is out.
This time you will find that the app icon on the small phone does not change. The meaning is removed from the module list, not removed is also no DeleteButton ha.
Note: This side DeleteButton must be cautious ah, you this but deleted the deleted, the hard disk is also deleted.
How Android studio removes module