I am working on a project on Android Studio where I am using some libraries. But out of them one library/module is not of any use. Now I want to remove/delete that particular Module. But when I right clicked on that module no delete option shows. I then went to Android Project folder in my C Drive and deleted that module's folder. But still that empty module is showing in android studio. How to remove it totally??
Select any Linked Library or BIMcloud Library from the Library Manager. (File > Libraries and Objects > Library Manager). Click the Remove icon to remove the library.
An Android library is structurally the same as an Android app module. It can include everything needed to build an app, including source code, resource files, and an Android manifest.
Go to File -> Project Structure -> Dependencies -> Select library/module -> click minus(-) -> Confirm selection from alert.
Alternative
If the above solution does not work then try this:
firstly remove the library from your build.gradle file and then delete it from the project structure.
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