Error:Cause: buildToolsVersion is not specified

前端 未结 12 2275
慢半拍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

    Not really sure what the underlying problem was, but I found the solution in a concurrent problem that was occurring: https://stackoverflow.com/a/32490472/1544046

    Essentially, I had to change my gradle target to use the wrapper and not a defined path. I've had it set to the Gradle Wrapper in the past, but it seems to revert from time to time without notice. Once I switched back and recompiled it worked fine.

    In the project's settings: Build, Execution, Deployment->Build Tools->Gradle and select "Use default gradle wrapper".

提交回复
热议问题