I know how to view all the dependencies in my Android Studio project but it doesn't show which libraries require which ones. They are just all grouped together. Is there a way to see which libraries are required by each specific dependencies I declare in my build.gradle file ?
Let's suppose you want to get dependencies graph of your app module. In your terminal/command line, run the below command:
./gradlew :app:dependencies
Moreover, if you want to store the dependency graph generated by above command, just do:
./gradlew :app:dependencies > dependencies.txt
Please note that the dependencies.txt file will be generated and stored in your current working directory.
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