As of ADT 14, resource fields cannot be used as switch cases. Invoke this fix to get more inform
解决的方法是
For all of those who didn’t resolve this problem yet - this is what i`v done:
Go to your “project.properties” file.
Delete this line ” android.library=true”
The reason why i had this problem, was because i did a copy&paste the properties file into my project (was missing).
cheers.
解决资源字段作为开关案例的问题
本文介绍了解决资源字段不能用作开关案例的问题。通过删除项目属性文件中的一行'android.library=true'来修复该问题。此问题源于将属性文件复制粘贴到项目中时出现的遗漏。
4520

被折叠的 条评论
为什么被折叠?



