Print Android Library dependency report
(1) Use the following command at the root directory of your Android Project:
./gradlew -q dependencies app:dependencies --configuration debugAndroidTestCompileClasspath
(2) If you get command not found error, you might need to make gradlew executable if it does not have the property yet:
chmod +x gradlew
(3) If you have build variant, you need to change the configuration name accordingly. E.g.
debugAndroidTestCompileClasspath stagingDebugAndroidTestCompileClasspath productionDebugAndroidTestCompileClasspath
(4) In the report printed, you will be able to view all the dependencies and their versions. E.g.
+--- com.android.support:appcompat-v7:28.0.0 (*) +--- com.squareup.picasso:picasso:2.5.2 -> 2.71828 | +--- com.squareup.okhttp3:okhttp:3.10.0 -> 3.11.0 | | \--- com.squareup.okio:okio:1.14.0 | +--- com.android.support:support-annotations:27.1.0 -> 28.0.0 | \--- com.android.support:exifinterface:27.1.0 | \--- com.android.support:support-annotations:27.1.0 -> 28.0.0
AI Summary
Chrome On-device AI
2025-02-08 11:47:31
Share Article