Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete Library/Module in Android Studio?

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??

like image 387
Abhishek Charismatic Avatar asked May 10 '17 07:05

Abhishek Charismatic


People also ask

How do I delete a library project?

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.

What is Library module in Android Studio?

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.


1 Answers

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.

like image 92
Pro Mode Avatar answered Sep 18 '22 18:09

Pro Mode