Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

android deploy error undiscernable

wtfinkwtfink USMember ✭✭

Can't figure out to proceed with the only error I see in my vs2017 pro android deploy. Deploy output result is attached as well as an avd log pop-up error.
My vs2017 ide is on a win10 pro laptop and I have an android phone and an android tablet connected via bluetooth and usb. They both show as connected in the windows file explorer window. Besides the avd pop-up error the only deploy error I see is:

"****1> No way to resolve conflict between "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" and "mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e". Choosing "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" arbitrarily.****"

Is there some android install problem on my win10pro or a vs2017 nuget package problem?????????????????????????

I have no native code in any of my android, ios or windows uwp projects. All my code is in my shared project and it builds, deploys and tests good on laptop, windows phone and windows tablet.

My vs2017 about window shows:
Microsoft Visual Studio Professional 2017 (2)
Version 15.2 (26430.15) Release
VisualStudio.15.Release/15.2.0+26430.15
Microsoft .NET Framework
Version 4.7.02046

Installed Version: Professional

Visual Basic 2017 00369-60000-00001-AA510
Microsoft Visual Basic 2017

Visual C# 2017 00369-60000-00001-AA510
Microsoft Visual C# 2017

Visual C++ 2017 00369-60000-00001-AA510
Microsoft Visual C++ 2017

Application Insights Tools for Visual Studio Package 8.6.00404.2
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017 15.0.30503.0
ASP.NET and Web Tools 2017

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

ASP.NET Web Frameworks and Tools 2017 5.2.50303.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

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

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

KofePackagePackage Extension 1.0
KofePackagePackage Visual Studio Extension Detailed Info

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

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.2.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

TypeScript 2.2.2.0
TypeScript tools for Visual Studio

Visual Studio tools for CMake 1.0
Visual Studio tools for CMake

Visual Studio Tools for Universal Windows Apps 15.0.26430.06
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 4.5.0.486 (fec6f88)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android SDK 7.3.1.2 (9dbc4c5)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK 10.10.0.37 (ad35de4)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Best Answer

  • wtfinkwtfink USMember ✭✭
    Accepted Answer

    Yes, I had to enable developer mode on my android devices. Having other issues though that I'm still trying to diagnose. Not ready to get this forum involved with them yet.

Answers

  • wtfinkwtfink USMember ✭✭

    I solved this problem and moved onto the next. Solution was to install a usb driver on both android devices. My new problem is "file Mono.Posix verisign=2.0.0.0 not found." The forum has other instances of this same error all seem to be solved by placing a mono.posix.dll in a vs2017 xamarin extensions folder on my win10 laptop. I believe I may not be putting it in the correct folder? Any suggestions are appreciated?

  • wtfinkwtfink USMember ✭✭

    This is the path where i put my mono.posix.dll:
    "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\Xamarin.VisualStudio"

    but the error still occurs. There are no other visual studio folders with a xamarin subfolder under ...\common7\ide\extensions.

  • multi61multi61 TRMember ✭✭

    is there any update ?

  • wtfinkwtfink USMember ✭✭
    Accepted Answer

    Yes, I had to enable developer mode on my android devices. Having other issues though that I'm still trying to diagnose. Not ready to get this forum involved with them yet.

Sign In or Register to comment.