Inconsistent Deployment Errors

Nathan Sokalski 4,116 Reputation points
2022-02-22T06:48:21.257+00:00

I am attempting to create a Xamarin.Android app using Visual Studio 2022 Version 17.1.0. I inconsistently (even if I have not changed any code or configuration) receive the following error:

There were deployment errors. Continue?

The Output window gives no useful information, so I have no idea where to look for more information on the problem. I have not found anything online that seems to help. I am having this problem on the following devices (and I probably would on others as well):

Emulator in Visual Studio 2022
Surface Duo
Samsung Galaxy S10e

What is the problem?

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

3 answers

Sort by: Most helpful
  1. Max Payne 16 Reputation points
    2022-03-26T05:25:28.123+00:00

    Why no official developer reply to this issue ? I have tried all the solutions posted here without any success, I have to close visual studio every 1 or 2 builds to be able to deploy!

    3 people found this answer helpful.

  2. Dalibor Markovic 6 Reputation points
    2022-03-29T06:43:19.457+00:00

    I installed Visual Studio LTSC 17.0 - 17.0.7 - March 8, 2022 - 17.0.32228.444, and everything works fine.

    1 person found this answer helpful.

  3. JarvanZhang 23,951 Reputation points
    2022-02-28T03:01:18.867+00:00

    I have found the Device Log Tool, but I could not find the Debug Log Tool (is that the same thing?). But I also was not sure how to attach the device log.

    Hi, njsokalski. Device Log is just the tool to get the log. For how to obtain the log, you could refer to the following doc:
    https://learn.microsoft.com/en-us/xamarin/android/deploy-test/debugging/android-debug-log?tabs=windows