React Native FAILURE: Build failed with an exception. Could not resolve ':classpath'. Could not find com.android.tools.build:gradle:3.0.1

后端 未结 7 2048
再見小時候
再見小時候 2021-02-19 22:36

When I make the command \"react-native run-android\" then it happened:

FAILURE: Build failed with an exception.

  • What went wrong: A problem occurred configu
相关标签:
7条回答
  • 2021-02-19 23:24

    try changing the class path in your build.gradle file from

        classpath 'com.android.tools.build:gradle:3.1.4'
    

    to

        classpath 'com.android.tools.build:gradle:3.0.1'
    
    0 讨论(0)
提交回复
热议问题