Bug 55393 - Apps always crashes in API Level 15 Emulator with Fast deployment option enabled
Summary: Apps always crashes in API Level 15 Emulator with Fast deployment option enabled
Alias: None
Product: Android
Classification: Xamarin
Component: Debugger ()
Version: 7.2 (15.1)
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-04-19 16:32 UTC by Paul
Modified: 2017-06-30 20:53 UTC (History)
3 users (show)

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

Sample project (9.21 KB, application/zip)
2017-04-19 16:32 UTC, Paul
Google Emulator details (1.13 KB, text/plain)
2017-04-19 16:36 UTC, Paul
Visual Studio Installation details (2.50 KB, text/plain)
2017-04-19 16:37 UTC, Paul

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 for Bug 55393 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Paul 2017-04-19 16:32:56 UTC
Created attachment 21633 [details]
Sample project

Newly created default Android app crashes in Google Emulator when Use Fast Deployment is checked.
If you uncheck it and reinstall to emulator everything works fine. Sample to repro is attached.
Comment 1 Paul 2017-04-19 16:36:02 UTC
Created attachment 21634 [details]
Google Emulator details
Comment 2 Paul 2017-04-19 16:37:06 UTC
Created attachment 21635 [details]
Visual Studio Installation details
Comment 3 Paul 2017-04-20 13:03:32 UTC
Same for Api 16, Android 4.1. Emulator details

Name: Nexus_S_API_16_Android_4.1_x86
CPU/ABI: Google APIs Intel Atom (x86)
Path: C:\Users\w\.android\avd\Nexus_S_API_16_Android_4.1_x86.avd
Target: google_apis [Google APIs] (API level 16)
Skin: 480x800
SD Card: 100M
hw.dPad: no
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name: Nexus S
vm.heapSize: 48
skin.dynamic: yes
hw.device.manufacturer: Google
hw.gps: yes
hw.initialOrientation: Portrait
skin.path.backup: _no_skin
image.androidVersion.api: 16
hw.audioInput: yes
image.sysdir.1: system-images\android-16\google_apis\x86\
tag.id: google_apis
showDeviceFrame: no
hw.camera.back: emulated
hw.mainKeys: yes
AvdId: Nexus_S_API_16_Android_4.1_x86
hw.camera.front: emulated
hw.lcd.density: 240
avd.ini.displayname: Nexus S API 16 Android 4.1 x86
hw.gpu.mode: auto
hw.device.hash2: MD5:37a2ff6e511626ba3ceddec8264474be
hw.ramSize: 343
hw.trackBall: no
hw.battery: yes
hw.cpu.ncore: 4
hw.sdCard: yes
tag.display: Google APIs
runtime.network.latency: none
hw.keyboard: yes
hw.sensors.proximity: yes
disk.dataPartition.size: 800M
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes
Comment 4 Mark McLemore 2017-06-23 20:47:26 UTC
Verified on Visual Studio 2017 Enterprise, Xamarin.Android 

This seems to be related to older emulator system images -- as a workaround, can you try a later system image? For example, if I compile/run ToDelete on Nexus 5, Android 6.0/API 23, I can deploy the ToDelete sample app without crashing (with Fast Deployment checked).