执行如下依赖分析指令可以打印依赖树
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
相关推荐
二流小码农18 分钟前
鸿蒙开发:基于DevEco Studio插件实现组件化运行wei_shuo20 分钟前
华为云 Flexus+DeepSeek 实战:华为云单机部署 Dify-LLM 开发平台全流程指南【服务部署、模型配置、知识库构建全流程】CYRUS STUDIO1 小时前
逆向某物 App 登录接口:还原 newSign 算法全流程tom4i2 小时前
Android13 Launcher3 桌面图标添加 HUAWEI HiCar 和 ICCOA 角标kymjs张涛2 小时前
前沿技术周刊 2025-06-23Wgllss2 小时前
Kotlin+协程+FLow+Channel,实现生产消费者模式3种案例东风西巷4 小时前
MolyCamCCD复古胶片相机:复古质感,时尚出片恋猫de小郭5 小时前
Flutter 里的像素对齐问题,深入理解为什么界面有时候会出现诡异的细线?liang_jy5 小时前
Java 线程实现方式CYRUS_STUDIO5 小时前
逆向某物 App 登录接口:热修复逻辑挖掘隐藏参数、接口完整调用