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

前端 未结 7 2150
自闭症患者
自闭症患者 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:35

    I think switched the API Level is not a genuine solution. We can resolve this by follows these steps:

    1. Go to "C:\Users\AjaySharma\AppData\Local\Xamarin\Android.Support.v7.AppCompat\20.0.0\content\support\v7\appcompat\res\values\attrs.xml"

      (Pleae make sure , change USer name and Target version in path)

    2. Find "android:preserveIconSpacing" in file and remove or comment this entire line.

    3. Now, You can Build Seccessfully. For more details. Read this

提交回复
热议问题