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

前端 未结 7 2151
自闭症患者
自闭症患者 2020-12-05 14:46

I had created an app and when tried to run,get an error like this.

ERROR: In  MenuView, unable to find attribute android:preserveIco         


        
7条回答
  •  甜味超标
    2020-12-05 15:25

    I fixed the problem by going to the path

    E:\adt-bundle-windows\sdk\extras\android\support\v7\appcompat\res\values\attrs.xml and Find "android:preserveIconSpacing"

    Then change it, From

    attr name="preserveIconSpacing" format="boolean"
    

    To

    attr name="android:preserveIconSpacing"
    

    also, remove

    format="boolean"
    

提交回复
热议问题