Android Studio lint和代码检查未访问vectorpath essueiDID
我介绍了一个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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论