Xamarin Forms: error APT0000: error getting parent element for element: resource not found that matches the specified name "Widget.AppCompat.Light.ActionButton"

I am creating a Xamarin forms application for training, and everything works on iOS, etc., Android works, and now for some reason I can not figure it out. Something is wrong with AppSupport.

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

values.xml (0,0): Error APT0000: error getting the parent: the resource was not found that matches the specified name "Widget.AppCompat.Light.ActionButton". (APT0000)

values.xml (0,0): Error APT0000: Error retrieving the parent: No resource was found that matches the specified name "Widget.AppCompat.ActionButton". (APT0000)

I made a clean, remodeled, etc.

Update

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

+7
xamarin xamarin.android xamarin.forms
source share
2 answers

I had corrupted packages. / Local / shared / Xamarin

+10
source share

I hit this when I copied one XF android project to another. It turns out styles.xml was looking for assets that have not yet been copied. Make sure you copy your styles and visual objects such as icons.

0
source share

All Articles