Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Studio编译提示"错误: 元素值必须为常量表达式“ #48

Closed
anxiazifeng opened this issue Apr 16, 2023 · 2 comments
Closed
Labels
Bug 🐞 故障 Confirmed bugs or reports that are very likely to be bugs Stale 🕳️ 远古 Issue creater doesn't provide more specific information within a long time (often one month)

Comments

@anxiazifeng
Copy link

是因为ButterKnife相关的元素引起,找了各种资料,没找到有效的处理方式

image

@SuperMonster003
Copy link
Owner

可尝试升级下述截图中的 Gradle 版本及 Gradle 插件版本:

image

其中 Gradle 版本配置位于 "%项目根目录%\gradle\wrapper\gradle-wrapper.properties" 文件,
Gradle 插件版本配置位于 "%项目根目录%\build.gradle.kts" 文件.

另 AutoJs6 v6.3.0 已修复上述问题.
如问题复现, 可继续反馈.

@SuperMonster003 SuperMonster003 added Bug 🐞 故障 Confirmed bugs or reports that are very likely to be bugs Feedback Awaited 🕒 等待反馈 Waiting for the feedback from issue creater and issue will be closed if duration is over one month labels Apr 30, 2023
@SuperMonster003
Copy link
Owner

SuperMonster003 commented May 26, 2023

另 v6.3.1 已完全移除 ButterKnife 的相关代码, 完成的 View Binding 的迁移.
此议题暂时关闭, 如仍有相关问题, 可重新开启此议题或提交新的议题反馈.

@SuperMonster003 SuperMonster003 added Stale 🕳️ 远古 Issue creater doesn't provide more specific information within a long time (often one month) and removed Feedback Awaited 🕒 等待反馈 Waiting for the feedback from issue creater and issue will be closed if duration is over one month labels May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐞 故障 Confirmed bugs or reports that are very likely to be bugs Stale 🕳️ 远古 Issue creater doesn't provide more specific information within a long time (often one month)
Projects
None yet
Development

No branches or pull requests

2 participants