AAPT: error: ‘请�?�择你理想的专业�?‘ is incompatible with attribute prompt (attr) reference.

在调试APP时,编译不出来,提示:AAPT: error: ‘请�?�择你理想的专业�?’ is incompatible with attribute prompt (attr) reference. 原因:spinner的 promote属性直接输入的字符串,没有在strings.xml中定义 解决方式:在strings.xml文件中定义一下这个字符串,然后再引用即可 已经可以成功运行了 为啥
相关文章
相关标签/搜索