Release Configuration Causes Exit Code 1
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?