我正在尝试将一个大型项目分解为子项目。尽管存在与等级中的依赖处理相关的许多错误,但大多数情况下它仍然有效,但是我遇到了冲突,我无法得到一个图表来解决。
我期望 abel 获得依赖关系图,以便我可以追踪哪个库具有两个冲突的依赖关系,但是在打印依赖关系图供我查看之前命令停止。
我不确定这是出于某种设计目的,还是只是 gradle 或 android 插件中的另一个错误。
这是我的输出。
$ ./gradlew androidDependencies
Defining custom 'clean' task when using the standard Gradle lifecycle plugins has been deprecated and is scheduled to be removed in Gradle 3.0
Incremental java compilation is an incubating feature.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':xlivestream'.
> Could not resolve all dependencies for configuration ':xlivestream:_debugCompile'.
> A conflict was found between the following modules:
- com.android.support:support-annotations:23.4.0
- com.android.support:support-annotations:23.1.1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
谁能告诉我应该如何获得依赖图来解决这个问题?