Fix Visual Studio Mono.AndroidTools.RequiresUninstallException
Christoph Weigert
Posted on January 22, 2020
After upgrading to Visual Studio 16.4 I couldn't deploy an older Xamarin.Forms branch to a Samsung Galaxy Tab S5e. Visual Studio could not deploy the App to the device.
ADB1000: Deployment failed Mono.AndroidTools.RequiresUninstallException: The installed package is incompatible. Please manually uninstall and try again. at Mono.AndroidTools.Internal.AdbOutputParsing.CheckInstallSuccess(String output, String packageName)
After digging around google I found this useful Entry in the Visual Studio Developer Community.
A workaround is available to fix this critical issue:
- Open Tools -> Android -> Android ADB Command Prompt
- Run the uninstall command via adb and pass your APK package name. adb uninstall com.yourcompanyname.yourappname
- Deploy the app through Visual Studio again. This time it should work.
💖 💪 🙅 🚩
Christoph Weigert
Posted on January 22, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.