我创建了一个应用程序,但在尝试运行时,出现这样的错误。
ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
问题
在 R.java 的末尾
请帮我解决这个问题
最佳答案
我在 Eclipse 中遇到了同样的问题,并通过更改 API 级别来解决它...
- 右键单击项目
- 打开属性 > 安卓
- 将 API 级别更改为我目前使用的级别。
我认为我遇到了问题,因为我刚刚从 API 21 切换到 22。我之前读到 API 22 有点麻烦,所以人们没有使用它。
希望对您有所帮助。
关于android - 错误 : In <declare-styleable> MenuView, 找不到属性 android:preserveIconSpacing,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29248579/