Error resource style/Theme.AppCompat.Light.DarkActionBar (aka com.companyname.xamapp:style/Theme.AppCompat.Light.DarkActionBar) not found. XAMApp.Android
Error failed linking references. XAMApp.Android
Error resource style/Theme.AppCompat.Light.Dialog (aka com.companyname.xamapp:style/Theme.AppCompat.Light.Dialog) not found. XAMApp.Android
Error style attribute 'attr/windowNoTitle (aka com.companyname.xamapp:attr/windowNoTitle)' not found. XAMApp.Android D:\VS2019Projects\XAMApp\XAMApp.Android\Resources\values\styles.xml 2
Error style attribute 'attr/colorPrimary (aka com.companyname.xamapp:attr/colorPrimary)' not found. XAMApp.Android D:\VS2019Projects\XAMApp\XAMApp.Android\Resources\values\styles.xml 2
Error style attribute 'attr/windowActionBar (aka com.companyname.xamapp:attr/windowActionBar)' not found. XAMApp.Android D:\VS2019Projects\XAMApp\XAMApp.Android\Resources\values\styles.xml 2
Error style attribute 'attr/colorPrimaryDark (aka com.companyname.xamapp:attr/colorPrimaryDark)' not found. XAMApp.Android D:\VS2019Projects\XAMApp\XAMApp.Android\Resources\values\styles.xml 2
Error style attribute 'attr/colorAccent (aka com.companyname.xamapp:attr/colorAccent)' not found. XAMApp.Android D:\VS2019Projects\XAMApp\XAMApp.Android\Resources\values\styles.xml 3
Error style attribute 'attr/windowActionModeOverlay (aka com.companyname.xamapp:attr/windowActionModeOverlay)' not found. XAMApp.Android D:\VS2019Projects\XAMApp\XAMApp.Android\Resources\values\styles.xml 4
Error style attribute 'attr/colorAccent (aka com.companyname.xamapp:attr/colorAccent)' not found. XAMApp.Android D:\VS2019Projects\XAMApp\XAMApp.Android\Resources\values\styles.xml 4
This same issue occurred for me after updating the Android SDK, however deleting
binandobjfolders in the Android project solved the problem.Apologies if this problem has already been fixed, but I found that this happened to me immediately after updating my android SDK platform. I found that (within visual studio) cutting everything within <resources> in styles.xml, letting it build, pasting it all back in, then rebuilding the project rather than the regular build process fixed it for me.
I ran the following in Package Manager Console to fix my issue: Install-Package Xamarin.Android.Support.v7.AppCompat
It is also not working for me. Cleaning and rebuilding the solution in VS also didn’t work.
Update:
In my case the error was in one of my resources, the ‘Styles.xml’ was not properly formatted. After I fixed it it managed to build.
For me also not working.
Deleting ‘bin’ and ‘obj’ not work with me