Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
# Steps to reproduce
1. Open a current Android Project with the Release version of Visual Studio 2017
2. Start any Genymotion Android Emulator.
3. Build and deploy the android app from VS 2017 to a Genymotion Android Emulator
# Expected behavior
App should deploy to emulator and should be able to run and debug the app.
# Actual behavior
App compiles, but deployment error occures: "Failure [INSTALL_FAILED_VERIFICATION_FAILURE]".
# Supplemental info (logs, images, videos)
I have enabled Unknown Sources and enable Developer Options on the emulator. This used to work on the latest RC version of VS2017, but the released version is not completely broken with Genymotion Android Emulators.
# Test environment (full version information)
Microsoft Visual Studio Enterprise 2017
Version 15.0.26228.4 D15RTWSVC
Microsoft .NET Framework
Installed Version: Enterprise
Visual Basic 2017 00369-60000-00001-AA096
Microsoft Visual Basic 2017
Visual C# 2017 00369-60000-00001-AA096
Microsoft Visual C# 2017
Visual C++ 2017 00369-60000-00001-AA096
Microsoft Visual C++ 2017
Visual F# 4.1 00369-60000-00001-AA096
Microsoft Visual F# 4.1
Application Insights Tools for Visual Studio Package 8.6.00209.10
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2017 15.0.30223.0
ASP.NET and Web Tools 2017
ASP.NET Web Frameworks and Tools 2017 5.2.50127.0
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0 15.0.30209.0
Azure App Service Tools v3.0.0
Azure Data Lake Node 1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio 2.2.5000.0
Microsoft Azure Data Lake Tools for Visual Studio
Common Azure Tools 1.9
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Fabric Diagnostic Events
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
JetBrains ReSharper Ultimate 2016.3.2 Build 107.0.20170126.120331
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2017 JetBrains, Inc.
KofePackagePackage Extension 1.0
KofePackagePackage Visual Studio Extension Detailed Info
Merq 1.1.13-alpha (2f64b6d)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.
Microsoft Azure Hive Query Language Service 2.2.5000.0
Language service for Hive query
Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.50131.1
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package
Mono Debugging for Visual Studio Mono.Debugging.VisualStudio
Support for debugging Mono processes with Visual Studio.
NuGet Package Manager 4.0.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
SQL Server Data Tools 15.1.61702.140
Microsoft SQL Server Data Tools
Hosting json editor into a tool window
TypeScript tools for Visual Studio
Visual Studio Tools for Universal Windows Apps 15.0.26228.00
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
Xamarin 22.214.171.1244 (73f58d6)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android SDK 126.96.36.199 (9578cdc)
Xamarin.Android Reference Assemblies and MSBuild support.
Xamarin.iOS and Xamarin.Mac SDK 10.4.0.123 (35d1ccd)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Created attachment 20200 [details]
Okay I found a workaround. In the Genymotion Android Emulator, so to Android Settings. Then to Developer Options. Then make sure "Verify apps over USB" is disabled. After disabling this, I can now deploy and debug on Genymotion Emulators.
What is strange is that these options never changed and have always worked on all versions of VS2017 RC (I've been using it since it was publicly made available). But as soon as I installed the released version, I encountered this error, so something must have changed. I consistently debug and test on 6 different Genymotion Emulators and all of them failed with the same error and Android Settings were not changed in any of them.
There was a change in the Android Tools version installed on VS 2017 RTW compared with the one installed on RC builds.
That might be the reason of the behavior change.
This is not a Xamarin issue, but related to how the emulator interacts with the Android tools.
Thanks for providing a workaround for it.