Bug 27395 - Deploying a debug version on simulator after a release version was installed prevent uninstall of the app
Summary: Deploying a debug version on simulator after a release version was installed ...
Status: RESOLVED NORESPONSE
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-02-25 05:38 UTC by softlion
Modified: 2016-11-22 11:32 UTC (History)
5 users (show)

Tags:
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 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:
Status:
RESOLVED NORESPONSE

Description softlion 2015-02-25 05:38:11 UTC
If i install the release apk of my android app on the official Android 5.0.1 simulator (or device) using this command line:

adb install -l C:\DiskJ\MasterUni\ac\Ac.Droid\bin\Release\com.shapr-Signed.apk

Then if i use Visual Studio to install a debug version of the same app on the same simulator/device, i receive a popup telling me the app version is incompatible.

After this message, the app icon can not be found in the simulator/device, and opening the settings/app menu from the device shows the com.app name only with a size of 0 bytes. And tapping it crashes the settings activity. There is no way to remove it completely.
Comment 1 Udham Singh 2015-07-02 14:38:18 UTC
I have checked this issue but not able to reproduce this issue. To reproduce this issue I have followed the steps mentioned below.

1. Open VS 2013 and crate a simple android app.
2. Install the release apk of android app suceessfully on android device via below command.
>adb install C:\Users\udam\Desktop\App303.App303-Aligned.apk
3. Deploy the same app in debug mode on device sucessfully.

Screencast : http://www.screencast.com/t/s1E03bvf

Note: I have checked this issue with android devices Samsung Galaxy Note3 (android 5.0) and LG Nexus 4 (android 4.4.2) and not able to reproduce with both devices.

Could you please have a look on the above test steps and screencast and let me know if I missed anything to reproduce this issue.

Thanks!

Environment Info :

Microsoft Visual Studio Professional 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Version 4.5.50938

Xamarin   3.11.666.0 (ebae43a)
Comment 2 softlion 2016-11-22 11:32:27 UTC
This is the infamous INSTALL_UPDATE_INCOMPATIBLE see xamarin forums for workarounds