执行如下依赖分析指令可以打印依赖树
sh gradlew -q app:dependencies
com.android.support:support-v4:28.0.0 是一个非常庞大的支持库,依赖的东一比较多下面看看详情:
standard_testReleaseUnitTestRuntimeClasspath - Resolved configuration for runtime for variant: standard_testReleaseUnitTest
+--- com.android.support:support-v4:28.0.0
| +--- com.android.support:support-compat:28.0.0
| | +--- com.android.support:support-annotations:28.0.0
| | +--- com.android.support:collections:28.0.0
| | | \--- com.android.support:support-annotations:28.0.0
| | +--- android.arch.lifecycle:runtime:1.1.1
| | | +--- android.arch.lifecycle:common:1.1.1
| | | | \--- com.android.support:support-annotations:26.1.0 -> 28.0.0
| | | +--- android.arch.core:common:1.1.1
| | | | \--- com.android.support:support-annotations:26.1.0 -> 28.0.0
| | | \--- com.android.support:support-annotations:26.1.0 -> 28.0.0
| | \--- com.android.support:versionedparcelable:28.0.0
| | +--- com.android.support:support-annotations:28.0.0
| | \--- com.android.support:collections:28.0.0 (*)
| +--- com.android.support:support-media-compat:28.0.0
| | +--- com.android.support:support-annotations:28.0.0
| | +--- com.android.support:support-compat:28.0.0 (*)
| | \--- com.android.support:versionedparcelable:28.0.0 (*)
| +--- com.android.support:support-core-utils:28.0.0
| | +--- com.android.support:support-annotations:28.0.0
| | +--- com.android.support:support-compat:28.0.0 (*)
| | +--- com.android.support:documentfile:28.0.0
| | | \--- com.android.support:support-annotations:28.0.0
| | +--- com.android.support:loader:28.0.0
| | | +--- com.android.support:support-annotations:28.0.0
| | | +--- com.android.support:support-compat:28.0.0 (*)
| | | +--- android.arch.lifecycle:livedata:1.1.1
| | | | +--- android.arch.core:runtime:1.1.1
| | | | | +--- com.android.support:support-annotations:26.1.0 -> 28.0.0
| | | | | \--- android.arch.core:common:1.1.1 (*)
| | | | +--- android.arch.lifecycle:livedata-core:1.1.1
| | | | | +--- android.arch.lifecycle:common:1.1.1 (*)
| | | | | +--- android.arch.core:common:1.1.1 (*)
| | | | | \--- android.arch.core:runtime:1.1.1 (*)
| | | | \--- android.arch.core:common:1.1.1 (*)
| | | \--- android.arch.lifecycle:viewmodel:1.1.1
| | | \--- com.android.support:support-annotations:26.1.0 -> 28.0.0
| | +--- com.android.support:localbroadcastmanager:28.0.0
| | | \--- com.android.support:support-annotations:28.0.0
| | \--- com.android.support:print:28.0.0
| | \--- com.android.support:support-annotations:28.0.0
| +--- com.android.support:support-core-ui:28.0.0
| | +--- com.android.support:support-annotations:28.0.0
| | +--- com.android.support:support-compat:28.0.0 (*)
| | +--- com.android.support:support-core-utils:28.0.0 (*)
| | +--- com.android.support:customview:28.0.0
| | | +--- com.android.support:support-annotations:28.0.0
| | | \--- com.android.support:support-compat:28.0.0 (*)
| | +--- com.android.support:viewpager:28.0.0
| | | +--- com.android.support:support-annotations:28.0.0
| | | +--- com.android.support:support-compat:28.0.0 (*)
| | | \--- com.android.support:customview:28.0.0 (*)
| | +--- com.android.support:coordinatorlayout:28.0.0
| | | +--- com.android.support:support-annotations:28.0.0
| | | +--- com.android.support:support-compat:28.0.0 (*)
| | | \--- com.android.support:customview:28.0.0 (*)
| | +--- com.android.support:drawerlayout:28.0.0
| | | +--- com.android.support:support-annotations:28.0.0
| | | +--- com.android.support:support-compat:28.0.0 (*)
| | | \--- com.android.support:customview:28.0.0 (*)
| | +--- com.android.support:slidingpanelayout:28.0.0
| | | +--- com.android.support:support-annotations:28.0.0
| | | +--- com.android.support:support-compat:28.0.0 (*)
| | | \--- com.android.support:customview:28.0.0 (*)
| | +--- com.android.support:interpolator:28.0.0
| | | \--- com.android.support:support-annotations:28.0.0
| | +--- com.android.support:swiperefreshlayout:28.0.0
| | | +--- com.android.support:support-annotations:28.0.0
| | | +--- com.android.support:support-compat:28.0.0 (*)
| | | \--- com.android.support:interpolator:28.0.0 (*)
| | +--- com.android.support:asynclayoutinflater:28.0.0
| | | +--- com.android.support:support-annotations:28.0.0
| | | \--- com.android.support:support-compat:28.0.0 (*)
| | \--- com.android.support:cursoradapter:28.0.0
| | \--- com.android.support:support-annotations:28.0.0
| \--- com.android.support:support-fragment:28.0.0
| +--- com.android.support:support-compat:28.0.0 (*)
| +--- com.android.support:support-core-ui:28.0.0 (*)
| +--- com.android.support:support-core-utils:28.0.0 (*)
| +--- com.android.support:support-annotations:28.0.0
| +--- com.android.support:loader:28.0.0 (*)
| \--- android.arch.lifecycle:viewmodel:1.1.1 (*)
\--- :app-standard-debug
android支持包com.android.support:support-v4 依赖树,便于分析类冲突问题
云水-禅心2024-03-22 16:43
相关推荐
青年夏日科技工作者42 分钟前
UE5.3 虚幻引擎 安卓Android地图插件开发打包俊杰_4 小时前
安卓11 SysteUI添加按钮以及下拉状态栏的色温调节按钮Alexander yaphets7 小时前
UE4.27 Android环境下获取手机电量不定时总结的那啥7 小时前
Unity2022接入Google广告与支付SDK、导出工程到Android Studio使用JDK17进行打包完整流程与过程中的相关错误及处理经验总结zhangjiaofa8 小时前
深入理解 Android 中的 ActivityInfozhangjiaofa8 小时前
深入理解 Android 中的 ApplicationInfoweixin_460783879 小时前
Flutter Android修改应用名称、应用图片、应用启动画面我惠依旧10 小时前
安卓H5项目通过adb更新H5项目加勒比之杰克10 小时前
【数据库初阶】MySQL中表的约束(上)tmacfrank10 小时前
Jetpack Compose 学习笔记(一)—— 快速上手