警告会导致 Android 应用程序出现问题吗?
我的 Android 项目中有警告,我认为它构建得很好,并且在运行时一切似乎都能正常工作。我想知道是否有某些类型的警告会导致以后出现问题。
I have warnings in my Android project, thought it builds fine and everything seems to work correctly at runtime. I would like to know if there are certain types of warnings that will cause problems down the road.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最好检查每一项。其中一些非常危险,可能预示着运行时可能出现的潜在问题。有些只会在未来影响您的产品。有些无所谓。 (后两个@alextsc在评论中写道)。
试着去理解每个人的理由——这是一所好学校。如果可以的话,清算它们。
但是,在您非常清楚哪个警告危险或不危险之前,不要阻止任何警告!
better check every one of them. Some of them are very dangerous and can signalize of potential problems that will appear in runtime. Some can influence your product in future only. Some doesn't matter. (of the latter two @alextsc writes in the comment).
Try to understand the reason of every one - it is a good school. Liquidate them if you can.
But until you are very good in telling which warning is dangerous or not, don't block any warnings!