首页 / 浏览问题 / 移动GIS / 问题详情
版本适配问题
23EXP 2023年07月30日
在运行过程中出现错误,要求sdk不超过28,将sdk改为28后出现与其他插件的适配,依赖,资源无法找到等问题
项目sdk设置为28,gradle版本为8.0,gradle插件版本为8.0.1,依赖为implementation 'androidx.appcompat:appcompat:1.4.1'
以上是否还存在错误需要修改

运行出现以下错误
Android resource linking failed

1个回答

您好,gradle版本注意不要太高,建议在4.0-7.0
3,465EXP 2023年07月31日

改成了6.1.1,出现了错误,gradle用7.2可以吗,gradle插件是4.2.2

Unsupported Java. 
Your build is currently configured to use Java 17.0.6 and Gradle 6.1.1.

Possible solution:
 - Upgrade Gradle wrapper to 7.2 version and re-import the project

可以的哈,因为jdk17要求gradle版本要高点
好的 谢谢
...