执行如下依赖分析指令可以打印依赖树
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
相关推荐
hjlgs3 小时前
framework修改快速验证游戏开发爱好者84 小时前
iOS 开发者的安全加固工具,从源码到成品 IPA 的多层防护体系实践安卓理事人4 小时前
安卓内存泄露排查LeakCanary秃了也弱了。6 小时前
MySQL空间函数详解,MySQL记录经纬度并进行计算.豆鲨包6 小时前
【Android】Binder机制浅析Nerve8 小时前
GooglePay: API 文档Nerve8 小时前
GooglePay: 订阅商品购买流程summerkissyou19878 小时前
Audio-触摸音-播放流程Nerve8 小时前
GooglePay: 消耗商品购买流程LiteHeaven9 小时前
Android 8.1 Unable to create application data 问题分析