【发布时间】:2019-10-04 15:40:18
【问题描述】:
我刚刚开始了一份新工作,我们正在使用 React Native 构建一个应用程序。在构建 android 版本时,我遇到了错误,说
Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not resolve com.facebook.react:react-native:0.12.+.
我的同事没有收到此错误,但我收到了。我在 github 问题上找到了 this 解决方案,最终为我解决了问题,但我们不想在不了解它发生的原因或修复工作的原因的情况下对我们的构建过程进行更改。是否有人对发生的事情或修复工作的原因有更深入的了解?
我们正在使用 Gradle,它在 allprojects -> repositories -> maven { url "https://jitpack.io" } 下正确配置
【问题讨论】:
标签: android react-native gradle build jitpack