How to remove an imported module in Android Studio

Click on the project tab on the left side of the screen, click on the project section header which will drop down a list and choose Project. Find the folder you imported and select it and hit your delete key. Open settings.gradle find the line that is similar to : include ':app', ':modulenameyouchooseduringimport' and delete the ,':modulenameyouchooseduringimport' Then go to Build -> Clean Project


You can find it in:

File --> Project Structrues --> Modules --> Dependency

from the GUI, you can find a lot more stuffs with modules.