Android Studio 报错:Could not determine the dependencies of task ‘...‘.Installed Build Tools revision

Android Studio 在编译程序时报错:

Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Installed Build Tools revision 32.0.0 is corrupted. Remove and install again using the SDK Manager.

解决办法如下:

1、移除已安装的 Android API 32

Android Studio 报错:Could not determine the dependencies of task ‘...‘.Installed Build Tools revision

取消选择 Android API 32,然点 Apply -- OK。

2、修改项目设置:

Android Studio 报错:Could not determine the dependencies of task ‘...‘.Installed Build Tools revision

 Android Studio 报错:Could not determine the dependencies of task ‘...‘.Installed Build Tools revision

 将上述三个参数修改下,其中前两个修改为低于32的版本,我修改为如下参数:

Android Studio 报错:Could not determine the dependencies of task ‘...‘.Installed Build Tools revision

重新编译项目,BUILD SUCCESSFUL in 605ms

上一篇:GRPC流模式


下一篇:Android studio 的操作记录(持续更新)