Strange windows phone app crashes only from the store - windows-phone-7

I am trying to update a 7.1 app from the store. For some reason it crashes only when installed from the store and only on 7.1 or 7.8 devices. My Lumia 920 with the latest updates works fine. The app runs fine if installed from VS 2010 or VS 2012. Of course all emulators worked fine. I put a Messagebox at Application_UnhandledException and it displayed this:
The type 'MyApp.MainPage', specified in the x:Class of
'/MainPage.xaml' could not be found in any loaded assembly.
Of course the MainPage class is there.
The app uses GPS and bing map and has capabilities:
ID_CAP_LOCATION
ID_CAP_NETWORKING
Can anyone shed some light on this?

I have just solved a similar problem where I had this error message when running from Visual Studio on my phone but not in an emulator. My problem was that I had different versions of the Microsoft.Live Assemblies in my 'main' app and the Assembly which contained the 'MainPage.xaml'.

I had a weird issue where my app worked differently from the store than on my device and the emulator. In my case it was because of trial mode. Apps run as though they are purchased when deployed to the emulator or device. It worked on my device from the store too, but that's because I bought it. Any other device which had not bought it ran in trial mode, and that's why it worked differently. I am betting that is why you are experiencing this crash. If it is not then we'll need more information.

Related

Xamarin - Cannot use iOS Emulators?

Visual Studio 2019
I recently upgraded Xamarin.Forms to version v4.5.0.530. This required me to upgrade xCode on the Mac to 11.4. This required me to upgrade the Mac OS to Catalina. OK I did all of that. Since then though:
If I run the project on the iPhone connected to the Mac it still WORKS fine (as before).
However, if I try and use one of the emulators on the PC (ipad etc) it FAILS to deploy with the following message:
Selected device is not a physical device. Please select a valid device before deploying the application.
Well obviously it is not a physical device!?!
Of course I am doing everything the same way I did it before the upgrade, choosing Debug, iPhoneSimulator, my iOS project, iPad Pro (9.7... etc)
So, it works on the physical iphone but not on any of the apple emulators (android phone/emulators work fine).
Has anyone any ideas why this might be?
It was a setting at Solution level. For some reason with 'iPhoneSimulator' selected at the top, against the iOS project 'iphone' was selected. Changed it to 'iPhoneSimulator' and all is good in the world again.

Can I connect an iPhone to a windows 10 machine to see my work in Flutter?

I want to see my work without using a simulator from Android Studio. Currently I have an Android Phone and it works when I connect my phone with Windows 10.
Can I do the same with an iPhone?
Flutter relies on Xcode and the iOS SDK to perform the underlying compilation and publishing of iOS apps. Unfortunately, it's not possible to do iOS development on Windows, a Mac is required.
Some googling reveals there are several online services, such as MacInCloud and MacStadium that provide a means to pay for a remotely accessible VM in the cloud if you'd prefer not to purchase a Mac, though not having used any, I can't personally vouch for any of them.

Installation of phonegap windows unsigned .appx freezes at 16%

I've try to install a unsigned phonegap windows app in my w10 desktop but the installation freezes at 16%.
I precise that : this native windows app has been developed with "ExtJS" framework and has been built with "phonegap build" without any microsoft developer key at this time. The android and iOS apps work fine.
Would you know the reason of this issue ? Would you think that this could be related to the developer signing key missing ?
You will find a screenshot of the installation interuption.
Thanks you in advance for your help.
Enzo.
I have had issues with deployment on Windows 10 Phone, but it was OK on Android and iOS.
In my case, there were two issues.
1) Wrong architecture
- I was building for the wrong architecture. Changing this allowed me to install correctly.
2) Retina.js
- Once installed, the application would crash. The crash was because Retina.js was being used and Windows did not like it. I do not know why. I removed it, and it worked. So try removing JS libraries one at a time and see if it works for you.

Xamarin Android Player stuck on acquiring IP

trying to launch XAP and it's just stuck loading, I checked the settings and it's stuck on 'Acquiring IP'. I've tried to repair it in Control panel& programs, same thing. It worked fine yesterday, I didn't change anything.
Using API 19, and Windows 7.
Any help is greatly appreciated.
Xamarin Android Player is discontinued, it is recommended to use Android simulators for Visual Studio or Google x86 emulators

Basic Android App not working on Xamarin Android Player via VS2015

I have been trying to run basic Android App provided by Visual Studio 2015 via XAMARIN Android Player. Program gets build and deployed successfully, yet, App or anything does not appear on screen. Xamarin Player takes more than 20 mins to start and then nothing happens. Find Screenshots as well.
WIthin the Android SDK Manager look under Extras there is an package called Intel x86 Emulator Accelerator (HAXM Installer). Installing HAXM will increase the speed of the emulator when you use the Intel Atom CPU/ABI
Also when creating the emulator device check Use Host GPU for increaded performance.
I ran into few issues with Xamarin Android Player as well. Currently I am using Genymotion Emulator and it is much faster.
Well, Well, Well, I got my thing up and running. Following are the steps I performed:
After installing Xamarin for VS2015, I checked for latest Android SDK via SDK Manager. Got all the necessary updates installed.
Installed Xamarin Android Player and used emulator Nexus 5 KitKat API level 19.
Earlier I was using Nexus 5 Lollipop, was the reason why, it was not working. May be its not fixed for buil yet.
As, described by Mr.Pilatus in above answer, the particular HAXM things surely does help in accelerating emulator.
Got my Android app running.
Thank you all for all the necessary suggestion and guiding my in my baby steps in XAMARIN development. Gracias. NAMASTE!

Resources