Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

一开始跟着《第一行代码》里的步骤一步一步来然后遇到了一行红色的Manifest merger failed with multiple errors, see logs的问题

百度了一下,在Terminal中输入gradlew processDebugManifest --stacktrace命令,弹出了Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.的错误。

百度了一下,搜到的都是5.0,6.0,7.0的的版本,各种奇奇怪怪的上古解决方案。准备卸载重装,结果uninstall.exe文件丢了,还没法正常卸载了。。。上网找了一下纯手工卸载的方法。。然后重新安装了一遍,还是同样的问题。最后试着在Project Structure中把Android Gradle Plugin Version 改成了4.1.3,Gradle Version保留7.0.2,更低的版本也可以。
在这里插入图片描述


版权声明:本文为qq_45707440原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。