mvvmcross v3 CirriousConference deploy failure - mvvmcross

I just did a git clone of MVVMCross v3 and did a Deploy project to a Gingerbread Virtual Machine.
Seven of the examples deployed without issues, but when the CirriousConference app deployed I got an error message about a missing shared library. See this screenshot.
Environment: VS2010, Xamarin 4.6.49, Windows 8.
I tried restarting the emulator and rebooting the computer without success.
Any ideas?

This type of error is often caused by the emulator image not having any Google Maps installed.
For the ARM emulators, you can create new emulators including Google Maps by adding the Google SDK packages
For the x86 emulator, try this post - http://www.seal.io/2012/09/android-x86-images-with-google-sdk-maps.html - I've not used it, but I've heard good things about it recently.
Alternatively, you can remove the maps functionality from that sample - it is only used on the hotel map page.

Related

Android Studio Canary 4 App won't run unless you update Google Play Services

I have updated Emulators from SDK manager and created new Virtual Device. Still having trouble with running my app from Android Studio using Google Maps API. Please help.
UPDATE:
I have fixed it by installing a Virtual Device which is 1 API lower (API 25) using x86_64. This installs the necessary Intel Atom System Image. Now I can see the Goodle Map in the emulator
There can be two ways
1: https://medium.com/#dai_shi/installing-google-play-services-on-an-android-studio-emulator-fffceb2c28a1
2: use genymotion (requires virtual box) link- https://www.genymotion.com/

Unable to deploy using Windows Phone Application Deployment (8.1) tool

First time developing Windows Phone 8.1 Universal App.
I figured how to create the .appx file after some googling. But now I need to deploy it to multiple customer devices, didn't figure that yet. For the moment I'm trying to deploy it to my development device, but it keeps throwing this error (see attached image).
I only have the myApp_ARM.appx file on my AppPackages folder. I can't find or browse to %FOLDERID_SharedData%. I have no idea where to find this ARM_Optimized.appx file.
First, reboot your phone, make sure there is no update pending. It should let you deploy into your phone.
Second, for deploying to multiple customer devices, use Hockeyapp (hockeyapp.net) to distribute the appx or use enterprise app feature.

The project needs to be deployed before it can be started

Whenever I am starting to test an Windows Phone app (even a blank app) on emulator, I am getting error "The project needs to be deployed before it can be started". The emulator will be started & run successfully, still no luck in deploying app on emulator. Getting error DEP6100 & DEP6200.
These are the stuffs I tried till now:
Checked "deploy" option in 'Configuration Manager'.
Tried deploying Windows 10 Mobile, Windows Phone 8.1 & Windows Phone 8 blank apps on different types of emulators.
Although I am able to run apps on my device.
I am running Visual Studio Enterprise 2015 on Windows 10 Enterprise.
The Emulator is x86 based and Phone is ARM architecture. To run the app in the emulator, change the CPU to x86 in the toolbar and compile it. Now you can deploy te App to the Emulator and test it.
I faced problem like that and I fixed it by right click on project > properties > change platform target to X86.
I just started playing with Xamarin Forms, and ran into this error after following the Xamarin Forms Quickstart Guide. The error message actually said to Run the Deploy... for the project that you are trying to run. Deploying the project seems to install some Windows dependencies that might be required to run the UMP. After deploying the project, it ran without issue as a Windows Desktop app, or if you change to Device, then install emulator, as Windows Phone app.
This error was relentlessly happening to me as well, and I found out that it was because my project was saved on a SanDisk SD card. If I simply moved the entire solution to my C drive, it built without issue, but on the D drive, it would give this error.

UWP crashes after downloading and installing from Windows Store

I have deployed my UWP application to windows store successfully. It rans perfectly in windows phone, however, when installed in pc / laptop from windows store, it fails and crashes.
checking event viewer (windows log) shows below error;
Activation of app
AppName!App failed with
error: The remote procedure call failed. See the
Microsoft-Windows-TWinUI/Operational log for additional information.
I didn't understand what kind of error it is?
Thanks!
Have you tried yourself, with Visual Studio 2015, to run it on a Windows Phone device in Release Mode ?
Most of time, this kind of errors are due to .NET Native, which is not activated by default on Debug build but which is activated when app is published on the Store.
Thanks,
Does your app reference a portable project? If yes, does the referenced project include resource files? We have encountered similar issues and they were related to resource files. Everything worked nicely when the app was manually deployed but when downloaded from Store, the app just didn't work.
Turns out the problem was with the resource files which were inside referenced project. The problem was solved by copying the resource files from the referenced project into the app's project.

WIndows phone app solution showing deployment error even after a successful build

Its saying "The project needs to be deployed before it can be started.
Verify the project is selected to be deployed or deploy it explicitly by clicking one of the deployment commands in the Build Menu."
I have tried to explicitly deploy it from the build menu but its all in vain. Not able to understand whats wrong.
It may be caused by the fact that no devices are detected.If you try to debug on a real device, it may no be detected by your computer or VS. If you use the emulator, it may be an error with the emulator (like for example, the emulator doesn't launch, so you can't deploy on nothing).
Try removing Apache Cordova Tools Package.
Worked for me.