看到这个链接(我怀疑)有 POM 文件,没有 jar。
重要笔记:
- 我正在使用最新版本的 react native ... v0.57.3 以及最新版本的 react-native-cli ... v2.0.1。
- 我的计算机中安装了 Java 11。
- 我此时正在使用最新的 gradle 版本... v4.10.2
- 我正在使用 Mac OSX Mojave
分发网址是:
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
这是错误
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'AwesomePlacesApp'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not find aapt2-proto.jar (com.android.tools.build:aapt2-proto:0.3.1).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/aapt2-proto/0.3.1/aapt2-proto-0.3.1.jar