Error:Cause: buildToolsVersion is not specified

前端 未结 12 2270
慢半拍i
慢半拍i 2020-12-24 00:50

I create a simple project and then I right-click on the project and then I use the make mudole app option. Now I have two build.gradle folders: 1-

12条回答
  •  天涯浪人
    2020-12-24 01:10

    Add buildToolsVersion to your build.gradle file this will solve your problem.

    buildToolsVersion "27.0.1"

    Gradle file code

     android{
              compileSdkVersion 27
              buildToolsVersion "27.0.1"
              useLibrary 'org.apache.http.legacy'
            }
    

提交回复
热议问题