当前位置: 代码迷 >> 综合 >> 2021-07-27 Android studio:Installed build tools revision 31.0.0 is corrupted.Remove and install ag
  详细解决方案

2021-07-27 Android studio:Installed build tools revision 31.0.0 is corrupted.Remove and install ag

热度:99   发布时间:2023-10-18 09:39:07.0

31.0.0版本有问题,可以选择其他的版本。
首先到 Tools-> SDK Manager中卸载31.0.0,下载Android R (API 30: version 11)
2021-07-27 Android studio:Installed build tools revision 31.0.0 is corrupted.Remove and install ag
完成后在app/build.gradle文件中修改compileSdkVersion、buildToolsVersion、targetSdkVersion三个变量。
compileSdkVersion 30
buildToolsVersion “30.0.0”
targetSdkVersion 30

  相关解决方案