It happened to me a few days ago. The problem was caused by using different versions of Android SDK build tool to build Xamarin.Android apps (at home I’m using v24.0.1 while at the office I’m using v23.0.3). It can be fixed by uninstalling the app manually (if it shows in application list) or re-building the app with the last Android SDK build tool you used then uninstall it manually (as the app is uninstalled improperly, it still in your device but doesn’t show up in application list). After that you can build with the other build tool.

But in the worst case the app doesn’t show up on your application list and you don’t want to waste your time to install the other build tool to just buid it to uninstall, the adb tool will be the rescuer if you follow below steps:

  1. Plug your device into your computer (Make sure you enabled Developer mode first).
  2. From command line, you enter “adb devices”. It should list all the “devices” (included emulators) are connected to your computer.
  3. Run “adb -s {DEVICE_ID} uninstall {APP_PACKAGE_NAME}” with {DEVICE_ID} is the device’s id you can get from second step and {APP_PACKAGE_NAME} is application package name.

adb tool will uninstall the app then you can build your app with new build tool.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s