小编Ame*_*n P的帖子

React Native:找不到com.android.tools.build:gradle:2.2.3

我正在使用本机做一个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) …

android gradle gradlew build.gradle react-native

9
推荐指数
1
解决办法
1858
查看次数

标签 统计

android ×1

build.gradle ×1

gradle ×1

gradlew ×1

react-native ×1