Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 15884 [details]
The project sample, and a build log file.
I am following a tutorial at https://www.jimbobbennett.io/building-a-xamarin-android-app-part-5/
All was fine until suddenly I am not able to build the project.
Attached is a log from visual studio, and also the project itself.
Created attachment 15885 [details]
Screenshot of my visual studio
Created attachment 15886 [details]
Xamarin Diagnostic file
The errors are gone and the project builds successfully after I removed these two lines from `Resources\layout\counter_view.xml`
I have no idea what these two are for or why they are causing the build errors... I am new to Xamarin.
Is this a bug in Xamarin or is it because I am targeting wrong Android API level?
Looks like it is target SDK version issue as explained here: https://components.xamarin.com/gettingstarted/xamandroidsupportv7cardview
Nevertheless... I don't suppose Visual Studio to bomb like that?
Yes, you need the "Android Support Library v7 CardView" package to use those resource values.