I created a clean project on Xamarin, Android App, on the task you need to make a simple calculator. I go to Main.xaml and the designer gives an error

This project contains resources that could not be compiled successfully.

When debugging issues the following

'Resource.Layout' does not contain a definition for 'Main'

I dug the Internet floor, ndk put it, rebild, cleaned (I don’t know why, I thought I’d be lucky), tried a bunch of versions of the SDK Tools (someone said it helped). And now I'm stuck: I can't debug, I can't do anything.

  • Welcome to Stack Overflow in Russian! text information is better to attach as text: a) easier to read; b) can be copied; c) the search works. You can correct the question text by clicking below to edit the question text - aleksandr barakin
  • put the 32-bit and 64-bit jdk, delete the file and add again. Also, try (going to path2android-sdk \ tools \ bin ) to update sdk with the commands sdkmanager packages "build-tools; 27.0.3" . enter numbers according to minimun, target and compile frameworks: you must have them all in path2android-sdk \ build-tools - asm

0