Bug 45190 - Android Application Won't Deploy after installing Xamarin 4.2.0.703
Summary: Android Application Won't Deploy after installing Xamarin 4.2.0.703
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.3.2
Hardware: PC Windows
: --- blocker
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-10-07 16:28 UTC by Karl Shifflett
Modified: 2016-12-02 15:21 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: Yes
Last known good build:


Attachments
contains the warnings and build output errors. (4.76 KB, text/plain)
2016-10-07 16:29 UTC, Karl Shifflett
Details


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:
Status:
RESOLVED FIXED

Description Karl Shifflett 2016-10-07 16:28:36 UTC
# Steps to reproduce
Install Xamarin 4.2.0.703 for Visual Studio 2015
Create new Xamarin Forms PCL application.
Update NuGet packages
Set Andriod as the start up project.
Build project. (should build correctly)
Select Android emulator.  I'm using 5.5 Marshmallow (6.0.0) XXHDPI phone (Android 6.0 - API 23)
Run app

# Expected behavior
Runs without warnings or errors.

# Actual behavior
Warnings and errors.

Please see this thread.  Scroll down and find my (Karl Shifflett) second comment, it has an attachment that has the warnings and errors.  

https://forums.xamarin.com/discussion/79544/application-wont-deploy-found-conflicts-between-different-versions-of-the-same-dependent-assembly?

# Supplemental info (logs, images, videos)
See the link

# Test environment (full version information)

Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01586

Installed Version: Enterprise

Architecture and Modeling Tools   00322-90250-00742-AA254
Microsoft Architecture and Modeling Tools
    
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

Visual Basic 2015   00322-90250-00742-AA254
Microsoft Visual Basic 2015

Visual C# 2015   00322-90250-00742-AA254
Microsoft Visual C# 2015

Visual C++ 2015   00322-90250-00742-AA254
Microsoft Visual C++ 2015

ASP.NET and Web Tools 2015.1   14.1.20810.0
ASP.NET and Web Tools 2015.1

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
For additional information, visit http://www.asp.net/

Azure App Service Tools v2.9.5   14.0.20810.0
Azure App Service Tools v2.9.5

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.1.0000.0
Microsoft Azure Data Lake Tools for Visual Studio

Command Bus, Event Stream and Async Manager   Merq
Provides ICommandBus, IEventStream and IAsyncManager MEF services for loosely coupled Visual Studio extension components communication and integration.

Comment Remover   1.3.21
Remove all comments in any file with a click of a button. Can also remove #regions and preserve XML Doc comments.

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

ConfigModuleEditorPackage Extension   1.0
ConfigModuleEditorPackage Visual Studio Extension Detailed Info

Extensibility Tools   1.10.184
Contains numerous tools and helpers that makes it easier than ever to build Visual Studio extensions.

File Nesting   2.5.63
Automatically nest files based on file name and enables developers to nest and unnest any file manually

GhostDoc   5.3.16270.0
GhostDoc automatically generates XML documentation comments.

GitHub.VisualStudio   1.0
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

Image Optimizer   3.6.94
Uses industry standard tools to optimize any JPEG, PNG and Gifs - including animated Gifs. Can do both lossy and lossless optimization.

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

JetBrains ReSharper Ultimate 2016.2.2    Build 106.0.20160913.91321
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2016 JetBrains, Inc.

Markdown Editor   1.9.173
A full featured Markdown editor with live preview and syntax highligting. Supports GitHub flavored Markdown.

Microsoft .NET Core Tools (Preview 2)   14.1.20810.0
Microsoft .NET Core Tools (Preview 2)

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

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.9.40715.2

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

Open Command Line   2.1.176
Opens a command line at the root of the project. Support for all consoles such as CMD, PowerShell, Bash etc. Provides syntax highlighting, Intellisense and execution of .cmd and .bat files.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   14.0.60519.0
Microsoft SQL Server Data Tools

tangible T4 Editor   2.3.0
tangible engineering GmbH

ToolWindowHostedEditor   1.0
Hosting json editor into a tool window

TypeScript   1.8.36.0
TypeScript tools for Visual Studio

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

Windows Installer XML Toolset   3.10.3.3007
Windows Installer XML Toolset version 3.10.3.3007
Copyright (c) .NET Foundation and contributors. All rights reserved.

Xamarin   4.2.0.703 (3b7df6f)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   7.0.1.3 (96c7ba6)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS   10.0.1.10 (ad1cd42)
Visual Studio extension to enable development for Xamarin.iOS.

XAML Power Toys for Visual Studio 2015   1.3.21
Visual Studio 2015 extension that enables developers to rapidly generate data entry forms from view models or entity objects for Xamarin Forms, UPW, WPF, and Silverlight.
Comment 1 Karl Shifflett 2016-10-07 16:29:19 UTC
Created attachment 17937 [details]
contains the warnings and build output errors.
Comment 2 Karl Shifflett 2016-10-07 17:41:32 UTC
After rolling back to Xamarin 4.2.0.680 Android applications build and run.

However, still getting the Build Warning that I reported in the attachment.

Karl
Comment 3 Karl Shifflett 2016-10-07 18:38:11 UTC
Much appreciated.  Have a great day.
Comment 4 Al Clark [MSFT] 2016-10-18 17:58:13 UTC
I've thus far been unable to replicate this issue.  Can you please check that that your Android SDK packages are up to date and you only have the latest Android SDK Build Tools installed?
Comment 5 Karl Shifflett 2016-10-18 18:31:14 UTC
Alan,

Yes, my system is fully updated.  Also, others on the forum thread reported the same issues.

Do you have a clean machine to do this on?

Best,

Karl
Comment 6 Karl Shifflett 2016-12-02 15:21:39 UTC
Alan,

I've now been able to deploy to Android.  Something must have been fixed since I logged this bug.

Recommend closing for now.

Wild times we are having!

Karl