我不能再构建我的项目了。我总是遇到这个gradle同步问题:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Invalid revision: 3.18.1-g262b901-dirty
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
这些是我尝试过但没有解决问题的事情:
此外,我不能在这里使用解决方案(这建议降级我的Cmake版本),因为我必须使用3.18.1。
有什么建议吗?
正如这里提到的,我最终将我的Cmake版本从3.18.1降级到3.6.4111459。唯一的区别是我不必在我的local.properties文件中添加cmake. dir
。