爱程序网

我的android学习经历7

来源: 阅读:

android签名后报错的问题

Duplicate id @+id/imageView, already defined earlier in this layout,android生成报错

这个是项目重复id报错,解决方案如下:

1.点击Window-Preferences

 

2.点击android中的Link Error Checking

3.在点击后出来的右边框Issues中写入DuplicateIDs

4.点击列表中的项,把右下角的Severity改为Warning

5再运行一下程序即可

 

关于爱程序网 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 人才招聘 - 帮助