我正在使用本机做一个Android应用程序,这是我得到的错误:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':react-native-fetch-blob'.
> Could not resolve all artifacts for configuration ':react-native-fetch-blob:classpath'.
> Could not find com.android.tools.build:gradle:2.2.3.
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom
https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.jar
Required by:
project :react-native-fetch-blob
我也收到以下警告:
> Configure project :app
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: The specified Android SDK Build Tools version (26.0.2) …