Bug 26178 - Fastdev fails on Nexus 9 after manually uninstalling the support APK
Summary: Fastdev fails on Nexus 9 after manually uninstalling the support APK
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 5.0
Hardware: PC Mac OS
: Normal normal
Target Milestone: 5.1
Assignee: Radek Doulik
Depends on:
Reported: 2015-01-19 18:06 UTC by Peter Collins
Modified: 2015-04-29 16:46 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Peter Collins 2015-01-19 18:06:43 UTC
Subsequent installation attempts of a support package that has since been manually uninstalled fail on the nexus 9. This workflow works for me on a few other devices.

Steps to reproduce:
1. Create and deploy a project that targets API 15 for example
2. Delete the api 15 support apk from the device
3. Try to deploy any sample targeting API 15 again.

The issue in my case is that the Application still shows up in the Downloaded section of the App manager, but it does not show up when listing packages or from a package manager broadcast. In other words:

`adb shell pm list packages` and PackageManager both agree that the Mono.Android.Platform.ApiLevel_15 package
isn't installed, so we install it. This fails with INSTALL_FAILED_ALREADY_EXISTS, which screws up everything else.