Remove the module in Android Studio

Source: Internet
Author: User

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.

Remove the module in Android Studio

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.