Failed to build project with Android studio

前端 未结 6 1119
醉酒成梦
醉酒成梦 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条回答
  •  半阙折子戏
    2021-02-02 05:50

    It's helpful to remember that you will have build.gradle files for each module in your Android Studio Project.

    I kept hitting my head against the wall - "Where the heck is that line everyone's telling me to change?!" - until I looked in the ~/dev/AndroidProjects/xxprojectnamexx/app folder and looked at the build.gradle file there.

提交回复
热议问题