7
votes

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, Target 21. I have references to v4,v7 AppCompat, GooglePlayServices, Maps

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): 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

Update

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

2
Which versions are you running? - Cheesebaron
Xamarin Studio on a mac, or which version of Android? - Burf2000
Try with everything. - Cheesebaron
I am running 22.2.0 I think, bloody thing is well confused - Burf2000

2 Answers

10
votes

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

0
votes

I hit this when I copied in one XF android project into another. Turns out the styles.xml was looking for assets that hadn't been copied over yet. Make sure you've copied your styles and visual assets such as icons over.