Android Studio lint和代码检查未访问vectorpath essueiDID

发布于 2025-02-11 16:41:59 字数 470 浏览 1 评论 0原文

我介绍了一个vector可绘制的,该绘制在我的Android应用中具有长路径(> 800个字符)。

但是,当我执行代码检查(代码 - >检查代码)或运行./ gradlew app:lintdebug在我的Android应用程序上时,我看不到vectorPath问题。即使我在棉布中启用了vectorPath,也被报道。不过,静态分析似乎可以解决这个问题(如下所示)。

有人知道为什么vectorpath没有报告问题吗? (我检查了禁用的支票,但矢量路径不是其中之一)

I introduced a vector drawable that has a long path (> 800 characters) in my Android app.

However, when I perform code inspection (Code --> Inspect Code) or run ./gradlew app:lintDebug on my Android app, I do not see the VectorPath issue being reported in lint, even though I have VectorPath enabled in lint. Static analysis seems to pick up the issue though (as shown below in screenshots).

Does anyone know why VectorPath issues are not being reported? (I checked the disabled checks but VectorPath isn't one of them)



如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文