Could not find com.android.tools.build:gradle:3.0.1

后端 未结 3 397
终归单人心
终归单人心 2021-02-02 18:10

When I try to build my project with gradle wrapper I get this error:

./gradlew

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred c         


        
3条回答
  •  梦谈多话
    2021-02-02 19:08

    Here was how I resolved the issue. Change the root build.gradle file:

    dependencies {
            classpath 'com.android.tools.build:gradle:3.1.3'
    
        .....
            //other codes here
        }
    

提交回复
热议问题