I have a sample Project which has lots of dependencies (over 100).
The sample references a class which I need in my project.
How to find the gradle dependency which is providing this class?
Control click on the class then assure that Autoscroll from source is selected.
That will bring you to something similar:

That will give you he name of the dependency in the build.gradle file.
The screenshots are from IntelliJ but the behaviour should be the same on Android Studio.
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