Xamarin for android crashes on VM - android

I am completely lost.
It has been 2 days of trying after countless uninstall and reinstall just to get xamarin working.
I am trying to compile for android using xamarin running on Visual Studio 2015.
Compiling against Android 7.1 Nougat, running on KitKat 4.4 VM, it crashes right at startup, both debug and release.
Since i am new, i have no idea where to look at and seeking for help.

Related

Updated visual studio 2019 to visual studio 2022 and now xamarin android app crashes on startup

I updated my visual studio 2019 in order to build android apps with version >=12 as play store requires.
I’m using xamarin.android to develop my app, not xamarin.forms.
When I try to build the app and deploy on a physical device (Android version 11.0), as soon as the initial screen is displayed it crashes.
No exception/error is displayed in visual studio and when I try to open the app directly on the my device, it works fine.
I reinstalled all the nuget packages as some people suggested, enabled/disabled fast deployment, deleted obj/bin directories, nothing really worked yet…
Building my app with vs19 was working fine.
Anybody can help me with that?
I reinstalled all the nuget packages as some people suggested, enabled/disabled fast deployment, deleted obj/bin directories, nothing really worked yet…

Xamarin Android Debugging Issue in VS 2017

We want to debug our android app with the real device but the project contains unmanaged projects (cpp pojects) and I think that this causes the problem.
We have the latest VS version (15.8.4) and when we try to debug, nothing happining after deploying. In the output window, we see
Start debugging Android application ...
Starting Android application ...
A colleague could debug but after he updated the newest VS, he cannot debug as well and we do not know his VS version.
Is there anybody faced this problem?
OS: Windows 10
Android API: 24

Xamarin Android Player do not run

I am working on Windows 8.i 32 bits, Visual Studio 2013, Xamarin, etc..
I have also installed Oracle VM Installed.
I was working Nexus4 (kitKat) and Jelly Bean Emulator from Visual Studio and Xamarin Studio.
But suddenly Nexus emulator did not appear any more. When i try to open Xamarin Android Player it did not open... It just appear ServiceManager.exe in Task Manager for a few seconds and disappear.
I deleted all Xamarin package and installed the last versión is the following order
XamarinInstaller.exe
XamarinStudio-6.1.2.44.msi
gtk-sharp-2.12.38.msi
jdk-8u112-windows-i586.exe
XAP-Beta-15.43-v0.6.5-amd64.exe
But the problem remains.
Anyone had the same problem I have?
What i am missing?
Thanks

Is there an alternative Android emulator for Visual Studio on Windows 10 Home

When using Visual Studio 2015 to develop c++ for Android the emulator only works if you are running a Pro version of Windows, for those using Visual Studio Community who are probably also running on a Home version of windows (like me) the Emulator will not work.
Is there an alternative available that can integrate with the VS debugger?
*** Edit
I have been looking at this list Android emulators although this seems to be aimed at android gaming on PC rather than App development. So was wondering if anyone had managed to integrate one of these with Visual Studio?
Both the below options come with the caveat that I have not used either.
Xamarin Android Player
Apparently Xamarin had issues with the default Android Emulator. Primarily that it was slow, and clunky, and they were getting a lot of complaints about it from Xamarin users (despite it not being their product/fault).
They decided to create their own emulator to get around this, and it can be found here.
It should be noted that (at time of writing) this is still in Preview by the looks of things. So bugs may be present.
From what I can see on the download page, it doesn't appear like you need Xamarin to actually use it. In any case, it's worth a shot.
GenyMotion
Another option is GenyMotion. There is a free version for personal use only (with limited functionality), or a paid option that provides more capability.
Android player link has changed to here: https://developer.xamarin.com/releases/android/android-player/
I had problems starting the android VMs, even after restarting the host. There seems to be some incompatibilities between Windows 10 Home and Virtualbox 5.0.4 that Android player installs. Installing Virtuallbox 5.1.2 after installing Android player seems to have resolved this.
EDIT: I haven't had a chance to test integration with Visual Studio yet.
Everything seems to be working as expected within Visual Studio. Both of the VM devices I created in Android Player are visible in the drop down of the run menu. Visual Studio will start the selected VM when I debug the default blank android app.
The only hiccup is that Visual Studio doesn't wait long enough for the emulator to start before attempting to deploy the app. So I have to start the run again or remember to start the VM from Android Player before debugging.

APPHOST9623: The app couldn't resolve ms-appx:

Developed a hybrid mobile app on cordova 3.0. Trying to deploy in android, windowsPhone 8.1 and ios. Have been facing problems with IOS 8.2 in macincloud. When upgraded to CTP 3.1 in Visual Studio, it upgraded to Cordova 3.7, now the app is completely broke in windows and android throwing errors like
APPHOST9623: The app couldn't resolve ms-appx:.....
All the references are broke.
Also xmlhttprequest is also broke in ripple.
Looking for some real good help here. Please ping me soon.

Categories

Resources