Failed to build project with Android studio

前端 未结 6 1053
醉酒成梦
醉酒成梦 2021-02-02 05:15

Can anyone tell me why I\'m getting this error with AndroidStudio?

Execution failed for task \':sampleapp:preBuild\'.
> Build Tools Revision 19.0.0+ is requir         


        
6条回答
  •  旧时难觅i
    2021-02-02 05:44

    Edit your project level build.gradle file and set gradle version to the latest version now it is 3.2.1

    dependencies {
        classpath 'com.android.tools.build:gradle:3.2.1'
    
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
    

提交回复
热议问题