-1

Here I created a "Blank App " on xamarin default templates that shows as "Welcome to xamarin forms " when it runs. But I already created an virtual device using AVD by downloading necessary components on SDK But when I hit run on my Virtual Device It cease and says: No resources fount that matches name :att 'colorAccent' and so on It doesn't compile. Please Help

1 Answer 1

1

In the MainActivity.cs is an out commented line: SetContentView(....), uncomment it and it should work

2
  • Thanks buddy. Can u explane why there is a resource eror like 'no resources found to : attr 'windowColor' '' Apr 4, 2017 at 7:39
  • Has that solves your problem? If yes, the MainAcitivy.cs is the code-behind from a view and so it is necessary to say the MainActivity.cs which view is coupled with the activity. If it solves your problem, can you vote up my answer with the up arrow? Apr 4, 2017 at 8:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.