Problems running app on actual device

OK, please take it easy on me, I am new to the whole Xamarin community. I have built a simple calculator app using MVVMCross. When I run the app in an emulator everything works great. It still needs some UI attention, but functionally it all works. When I go to archive it and make an install on my phone, it installs just fine. The issue is when I go to run it. As soon as it opens I get an error message. "Calculator.UI.Droid has stopped" Open app again. I have gone through everything I can find online to do this and nothing is working.

Here is my setup:
Visual Studio 2017 Community with latest updates
Windows 10 with latest updates
Latest Java SDK

Project Properties:
Compile using Android Version 7.1 (Nougat)
Minimum Android Version 5.0
Target Android Version 7.1
Use Fast Deployment - false
Generate one package (.apk) per selected ABI - unchecked
Enable ProGuard - checked
Linking - SDK and User Assemblies

Android Phone:
Google Pixel 2 with latest updates.

Any help would be appreciative. Just let me know if you need more information. Thanks in advance

Posts

  • joshglass1joshglass1 USMember

    To whoever reads this. I am also getting the following when I do a build:

    1>------ Build started: Project: Calculator.Core, Configuration: Release Any CPU ------
    1> Calculator.Core -> C:\Mobile\Android\Calculator\Calculator.Core\bin\Release\Calculator.Core.dll
    2>------ Build started: Project: Calculator.UI.Droid, Configuration: Release Any CPU ------
    3>------ Build started: Project: Calculator.UI.WPF, Configuration: Release Any CPU ------
    3> Calculator.UI.WPF -> C:\Mobile\Android\Calculator\Calculator.UI.WPF\bin\Release\Calculator.UI.WPF.exe
    2> Calculator.UI.Droid -> C:\Mobile\Android\Calculator\Calculator.UI.Droid\bin\Release\Calculator.UI.Droid.dll
    2> 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.
    2> No way to resolve conflict between "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" and "System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e". Choosing "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" arbitrarily.
    2> No way to resolve conflict between "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" and "System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e". Choosing "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" arbitrarily.
    ========== Build: 3 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Sign In or Register to comment.