Bug 59435 - VS 2017 15.4.0 preview 2 can no longer deploy onto Android emulator
Summary: VS 2017 15.4.0 preview 2 can no longer deploy onto Android emulator
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android (show other bugs)
Version: 4.7.0 (15.4)
Hardware: PC Windows
: --- blocker
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-09-12 22:05 UTC by philip
Modified: 2017-10-03 16:48 UTC (History)
6 users (show)

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


Attachments
build logs (16.37 KB, application/x-zip-compressed)
2017-09-13 14:51 UTC, philip
Details

Description philip 2017-09-12 22:05:07 UTC
# Steps to reproduce
1. Update VS to 15.4 preview 2
2. deploy application which previously build and deployed
3. The build fails with the following message:

"java.exe" exited with code 2.
Done building project "TDSP.Droid.csproj" -- FAILED.
Build FAILED.

   at Xamarin.VisualStudio.Android.Services.AndroidToolsBuildService.RunMSBuildTarget(Project project, IProgressReport progress, String msbuildTarget, MsBuildLogger msbuildLogger, IDictionary`2 properties, IDictionary`2 globalProperties, Boolean runInProc) in C:\d\lanes\5156\d68a92f7\source\xamarinvs\src\Core\VisualStudio.Android\Services\AndroidToolsBuildService.cs:line 182
   at Xamarin.VisualStudio.Android.Services.AndroidToolsBuildService.InstallPackage(Project project, IMonoAndroidDevice device, Boolean preserveDeviceData, IProgressReport progress, Boolean runInProc) in C:\d\lanes\5156\d68a92f7\source\xamarinvs\src\Core\VisualStudio.Android\Services\AndroidToolsBuildService.cs:line 118

# Expected behavior
Deploy as in previous VS preview version

# Actual behavior
see above

# Supplemental info (logs, images, videos)


# Test environment (full version information)
Just upgraded to 15.4.0 preview 2 and, cleaned solution, and can no longer deploy.
Comment 1 Prashant [MSFT] 2017-09-13 06:51:24 UTC
Thanks so much for taking the time to submit this report! I’m unable to reproduce this issue using the latest Visual Studio 2017 Preview 2 version 15.4 Please attach the following to help us reproduce this issue:
-Version information (Help → About Microsoft Visual Studio → Copy Info)
-Logs (Help → Xamarin → Zip Logs (last 7 days))
-Optional: project to reproduce your issue
Comment 2 philip 2017-09-13 14:51:57 UTC
Created attachment 24733 [details]
build logs

I removed a few lines with sensitive info, but otherwise the logs a complete.
Comment 3 philip 2017-09-25 18:21:40 UTC
Microsoft Visual Studio Enterprise 2017 Preview (2)
Version 15.4.0 Preview 2.0
VisualStudio.15.Preview/15.4.0-pre.2.0+26906.1
Microsoft .NET Framework
Version 4.7.02046

Installed Version: Enterprise

Architecture Diagrams and Analysis Tools   00369-90000-00000-AA530
Microsoft Architecture Diagrams and Analysis Tools

Visual Basic 2017   00369-90000-00000-AA530
Microsoft Visual Basic 2017

Visual C# 2017   00369-90000-00000-AA530
Microsoft Visual C# 2017

Visual C++ 2017   00369-90000-00000-AA530
Microsoft Visual C++ 2017

Visual F# 4.1   00369-90000-00000-AA530
Microsoft Visual F# 4.1

Application Insights Tools for Visual Studio Package   8.9.00809.2
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017   15.0.30819.0
ASP.NET and Web Tools 2017

ASP.NET Core Razor Language Services   1.0
Provides languages services for ASP.NET Core Razor.

ASP.NET Web Frameworks and Tools 2017   5.2.50816.0
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0   15.0.30819.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.3.0000.0
Microsoft Azure Data Lake Tools for Visual Studio

Azure Data Lake Tools for Visual Studio   2.3.0000.0
Microsoft Azure Data Lake Tools for Visual Studio

Color Picker   1.0
Integrated Color Picker for Visual Studio IDE and Editor

Color Theme Designer   1.0
Designer for creating new color themes

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Fabric.DiagnosticEvents   1.0
Fabric Diagnostic Events

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

JavaScript UWP Project System   2.0
JavaScript UWP Project System

Merq   1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft Azure HDInsight Azure Node   2.2.8000.0
HDInsight Node under Azure Node

Microsoft Azure Hive Query Language Service   2.3.0000.0
Language service for Hive query

Microsoft Azure Service Fabric Tools for Visual Studio   1.7
Microsoft Azure Service Fabric Tools for Visual Studio

Microsoft Azure Stream Analytics Language Service   2.3.0000.0
Language service for Azure Stream Analytics

Microsoft Azure Stream Analytics Node   1.0
Azure Stream Analytics Node under Azure Node

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.50719.1

Microsoft Continuous Delivery Tools for Visual Studio   0.3
Simplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards

Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package

Mono Debugging for Visual Studio   4.7.4-pre (c2d89eb)
Support for debugging Mono processes with Visual Studio.

NuGet Package Manager   4.4.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Redgate ReadyRoll   1.14.15.4999
Extend DevOps processes to your SQL Server databases and safely automate database deployments.
    
Visit https://www.red-gate.com/readyroll for more information.

Copyright (C) 2011 Red Gate Software Ltd. All rights reserved.
  
This software contains components from Component Owl.
SQL Server is a registered trademark of Microsoft Corporation. 
Visual Studio is a registered trademark of Microsoft Corporation. 

ReadyRoll contains code from the following open source software:

NuGet https://www.nuget.org/
SQL LocalDB Wrapper https://github.com/martincostello/sqllocaldb
Autofac https://autofac.org/
Json.NET https://json.net/
MahApps.Metro http://mahapps.com/
SemVer https://github.com/maxhauser/semver
Log4Net http://logging.apache.org/log4net/
Extended WPF Toolkit https://wpftoolkit.codeplex.com/
Code InfoBox VSX http://www.codeproject.com/Articles/55196/Code-InfoBox-Visual-Studio-Extension-VSX
OctoPack https://github.com/OctopusDeploy/OctoPack
SQLite https://sqlite.org/

This product contains icons from http://www.visualpharm.com distributed under a free backlink license.

For license details or other notices relating to the above software, please see NOTICE.TXT and EULA.rtf in the ReadyRoll application folder.
    

Redgate SQL Prompt   8.1.0.2354
Write, format, and refactor SQL effortlessly

Sandcastle Help File Builder   SHFB
Visual Studio integration for the Sandcastle Help File Builder.
https://GitHub.com/EWSoftware/SHFB

SQL Server Data Tools   15.1.61707.200
Microsoft SQL Server Data Tools

StylerPackage Extension   1.0
StylerPackage Visual Stuido Extension Detailed Info

ToolWindowHostedEditor   1.0
Hosting json editor into a tool window

TypeScript   2.3.5.0
TypeScript tools for Visual Studio

Visual C++ for Cross Platform Mobile Development (Android)   15.0.26823.01
Visual C++ for Cross Platform Mobile Development (Android)

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio tools for CMake   1.0
Visual Studio tools for CMake

Visual Studio Tools for Universal Windows Apps   15.0.26906.01
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.

VisualStudio.IoT   1.0
Package with IoT components for Visual Studio

VisualStudio.Mac   1.0
Mac Extension for Visual Studio

WapProjPackage   1.0
WapProj Package Project System

WebJobs Tools v1.0.0   15.0.30901.0
WebJobs Tools v1.0.0

Xamarin   4.7.0.934 (d68a92f)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android SDK   7.5.0.15 (HEAD/cf9532456)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK   10.14.0.26 (416f778)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Comment 4 philip 2017-09-26 19:10:58 UTC
After reinstalling VS and cleaning the solution things started to work again, so I think you can close this item.
Comment 5 Pierce Boggan [MSFT] 2017-10-03 16:48:54 UTC
Issue is no longer reproducible by the customer. Moving to RESOLVED-NOT REPRODUCIBLE.

Note You need to log in before you can comment on or make changes to this bug.