FAILURE: Build failed with an ex

2020-11-23  本文已影响0人  XiaoXred

1.异常信息:

FAILURE: Build failed with an exception.

* What went wrong:

This version of Android Studio cannot open this project, please retry with Android Studio 4.0 or newer.

* Try:

Run with --info or --debug option to get more log output. Run with --scan to get full insights.

2.解决方法:

将 gradle 降低版本即可,编译就好了。如果不知道改为哪个版本,就新建一个项目,看看是什么版本的,直接改为相应的版本即可。

上一篇 下一篇

猜你喜欢

热点阅读