Can't build Android app

Mikhail 1 Reputation point
2021-04-02T12:38:58.243+00:00

Hi there.
I'm trying to build a Blank Xamarin.Forms Android app and building hangs at this output:

83958-vs.jpg

Then nothing happens, so i can only cancel it.
Absolutely the same with a Blank Xamarin.Android app, but additionally VS can't preview layouts:

83996-layout.jpg
Setting up: running AfterResolveReferences never completed.
The preview will be shown if I manually kill MSBuild.exe process in task manager.

Repairing, updating VS doesn't help.
Setting up UPW as startup project - works fine, deployment finishes successfully and debugging starts.

Any ideas?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,376 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.