ERROR: In MenuView, unable to find attribute android:preserveIconSpacing in Android

Are you struggling with ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing in Android using eclipse , this error comes in R.Java files, you clearly see on you project, then don't worry , we have solution for this error.

Steps:
1. Right Click on Project
2. Go to Properties
3. Choose Android
4. Change Below API version then previous(eg. if 5.1.1 then 4.1.2 or other below 5.1.1)
5.and finally clean the project.

However, if above solution did not solve your problem, try next method,
This error comes sometimes because you are using an old Appcompat version .. update Appcompat, to the newer version which is compatible with API 22, then click on fix project properties .

Happy Coding !!!
ERROR: In MenuView, unable to find attribute android:preserveIconSpacing in Android ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing in Android Reviewed by D Kshetri on 10:34 PM Rating: 5

No comments:

Powered by Blogger.