【发布时间】:2017-03-14 15:05:29
【问题描述】:
我正在将 React Native 集成到一个 Android 项目中,并且遇到了这个 gradle 问题。
":com.facebook.stetho:stetho-okhttp:1.2.0' 依赖于一个或多个 Android 库但是是一个 jar"
Module 'com.facebook.stetho:stetho-okhttp:1.2.0' depends on one or more Android Libraries but is a jar
Module 'com.facebook.stetho:stetho-okhttp:1.2.0' depends on one or more Android Libraries but is a jar
FAILED
:uscs_core_mobile:buildInfoGeneratorE3PRODLogsDebug
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':uscs_core_mobile:prepareE3PRODLogsDebugDependencies'.
> Dependency Error. See console for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
注意:以上是我使用 --stacktrace 运行后看到的
当我检查我的应用时,我实际上并没有看到stetho-okhttp:1.2.0,而是看到了stetho:1.4.1。
有没有人经历过或有想法?
【问题讨论】:
标签: java android facebook gradle react-native