Responsive Ad Area

Share This Post

test

Android Studio – Removed dependency is not removed from external libraries

Android Studio – Removed dependency is not removed from external libraries

In Android Studio, I’m implementing some libraries in the gradle file to be used in my app, these libraries got added to the external libraries section in the project, each with it’s own version.

Now when I delete the dependency of one of these libraries from my gradle file, it’s not getting deleted from the external libraries section, and it’s extracted classes can be imported and used normally in the app, which is a big ques mark for me.

enter image description here

Also when changing one of these libraries version(downgrading at my case), the updated version is not getting reflected in the external libraries section, and instead, the version in the external libraries section is the one who is used in the app, which forces me to use a version that I don’t want to use.

enter image description here

enter image description here

I’ve tried “build project” and even “invalidate and restart” but nothing changes, what am I missing here?!!


Android Studio – Removed dependency is not removed from external libraries
Android Studio – Removed dependency is not removed from external libraries
test
{$excerpt:n}

Share This Post

Leave a Reply

Your email address will not be Publishedd. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Skip to toolbar