本文介绍了Xamarin形式:错误APT0000:检索项目的父项时出错:未找到与给定名称'Widget.AppCompat.Light.ActionButton'匹配的资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个用于学习的Xamarin表单应用程序,并且一切都在iOS等系统上运行,Android在运行,现在,由于我无法解决的原因. AppSupport出了点问题.

I am building a Xamarin forms app for learning and everything is working for iOS etc, Android was working and now, for a reason I cant work out. Something is wrong with the AppSupport.

Min SDK 15,目标21.我引用了v4,v7 AppCompat,GooglePlayServices,地图

Min SDK 15, Target 21. I have references to v4,v7 AppCompat, GooglePlayServices, Maps

values.xml(0,0):错误APT0000:检索项目的父项时出错:未找到与给定名称'Widget.AppCompat.Light.ActionButton'匹配的资源. (APT0000)

values.xml(0,0): Error APT0000: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Light.ActionButton'. (APT0000)

values.xml(0,0):错误APT0000:检索项目的父项时出错:未找到与给定名称'Widget.AppCompat.ActionButton'匹配的资源. (APT0000)

values.xml(0,0): Error APT0000: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.ActionButton'. (APT0000)

我已经进行了清理,重建等

I have done a clean, rebuild etc

更新

我认为它的Xamarin坏了:( https://bugzilla.xamarin.com/show_bug.cgi?id=29568

I think its Xamarin that is broken :(https://bugzilla.xamarin.com/show_bug.cgi?id=29568

推荐答案

我在./local/shared/Xamarin中有损坏的软件包

I had corrupt packages in ./local/shared/Xamarin

这篇关于Xamarin形式:错误APT0000:检索项目的父项时出错:未找到与给定名称'Widget.AppCompat.Light.ActionButton'匹配的资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-16 05:19