首页 > 移动平台 > 详细

android 自定义view Multiple annotations found at this line:

时间:2015-04-09 09:04:57      阅读:207      评论:0      收藏:0      [点我收藏+]

在安卓自定义View中,自定义属性会报一个错Multiple annotations found at this line:然后提示各种属性没有

解决办法是 在 最外层的 xmlns:****="“;  这个地方中,去掉  apk/res/ ,就是达到 自定义view的 目录 接上http://schemas.android.com/ 这个就好了。 加上 /apk/res会让编译器去扫描res下面的东西

android 自定义view Multiple annotations found at this line:

原文:http://blog.csdn.net/xfcy_hades/article/details/44944669

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!