gpt4 book ai didi

java - 无法进一步更改属性 'resValues' 的值。将 gradle 从 4.1.3 升级到 4.2.1 后

转载 作者:行者123 更新时间:2023-12-04 23:52:32 25 4
gpt4 key购买 nike

将 gradle 从 4.1.3 升级到 4.2.1 后,我在构建应用程序时开始收到此错误

The value for property 'resValues' cannot be changed any further.

最佳答案

只需更新到 1.9.2

[1.9.2] 2021-06-07 Fixed an issue where the Gradle plugin wouldfail with AGP 4.2 due to an IllegalStateException ("The value forproperty 'resValues' cannot be changed any further.")


原来是 heapanalytics的问题删除 apply plugin: 'com.heapanalytics.android' 后解决问题。
所以你可以删除 heapanalytics或延迟 gradle 更新并继续使用 4.1.3,直到堆团队修复此问题。
来自 here :

Nora from Heap support here! Our mobile team has prioritized this issue and is actively working on a release version with support for Android Studio 4.2. The current release timeline for the supported version is by the end of this June.

关于java - 无法进一步更改属性 'resValues' 的值。将 gradle 从 4.1.3 升级到 4.2.1 后,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67786404/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com