I had created an app and when tried to run,get an error like this.
ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
I had the same problem in Eclipse, and fixed it by changing the API level by...
I think I was having the problem because I had just switched from API 21 to 22. I had read earlier that API 22 was trouble-some, so people were not using it.
Hope that helps.