问题
I had update my eclipse Version: 4.2.2 and android SDK with API 23. When i created an app then get an error like this.
[2015-10-12 17:03:05 - appcompat_v7] ERROR: In MenuView, unable to find attribute android:preserveIconSpacing
and warning
[2015-10-12 16:50:14 - appcompat_v7] WARNING: unable to write jarlist cache file D:\lolipop Workspace\appcompat_v7\bin\jarlist.cache
Syntax error, insert "}" to complete ClassBody R.java /appcompat_v7/gen/android/support/v7/appcompat line 3065 Java Problem
please help me to fix this problem.
Thanks.
回答1:
check your appcompat\res\values\attrs.xml file
and find "android:preserveIconSpacing" in file
and freeze it. and run app.
it's work for me.
来源:https://stackoverflow.com/questions/33081854/error-declare-styleable-menuview-unable-to-find-attribute-androidpreserveico