I am new to Android Studio, so please go easy on the lingo and navigation. I did File -> New -> Import Module and imported what I believe was an Android library project. I don't know how to find which modules I have imported or where to go to remove them.
Go to File > Project Structure > Select the module in modules and press minus(-) on the top left. This will remove the library but you will have to manually remove the files form your project . this link will help you in better understanding.
It can be accessed via "File -> Project Structure" or by right-clicking on a Module and selecting "Module Settings". Then select the module, and click the "minus" button to remove it.
AS OF AS-2.2: Remove the compile dependency from Build -> Edit Libraries And Dependencies. That will not remove the module itself from the project folder. To completely remove the module, you should remove it from settings.gradle
file.
You can go File > File Structure > Dependencies
and then select the module that you want to delete and click on "-"
Also you can go there browsing : Right click on your project > Open Module Settings
If you can see it on the left of your IDE as a module the thing that you can do is Mark directory as excluded
and then delete
it right clicking on it.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With