Release Configuration Causes Exit Code 1

Nathan Sokalski 4,111 Reputation points
2022-04-22T02:40:56.827+00:00

I have an app that works great in debug mode, but in release mode it does not give an error that prevents it from building, but it gives the following warning:

MSB3073: The command ""C:\Program Files (x86)\Android\android-sdk\platform-tools\adb" -s R58M22MX23R uninstall -k "com.companyname.slottracker"" exited with code 1.

This is obviously causing certain parts of my app to work incorrectly. I have checked everything I could find online, but no success. I'm not sure what to try, since the only thing I am changing is the Debug/Release setting. I have tested this on a Surface Duo with Android 11 & Samsung Galaxy S10e with Android 12, both giving the same result. What could be causing this?

Developer technologies | .NET | Xamarin
{count} votes

Your answer

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