Xamarin Studio can't run Android application after update - xamarin

Today I update Xamarin Studio, and like many times before, it's start crashing. The problem is that the Android application is installed but crash in lunch throwing the error:
NotSupportedException: Stack walks are not supported on this platform.
Did someone know how to fix it or what could be causing it?

This is a known bug, which is raised on Bugzilla. The only thing you can do right now is downgrade your Xamarin.Android.

Related

Can not debug on simulator or device anymore

I was able to debug my Xamarin.iOS app on my physical device and simulators just fine until this morning. I think it has something to do with the recent iOS update. When I try to deploy to my physical device (iPad) I get this message now:
error HE0003: Could not load the framework 'IBFoundation' (path:
/Applications/Xcode.app/Contents/Frameworks/IBFoundation.framework/IBFoundation):
not found.
And I can't deploy on any simulator anymore, I get this message
Lower the deployment target to see older simulators or check you Apple
SDK path
I didn't have these problems yesterday and I've been working on my app for months without this problem. I updated Visual Studio, Xcode, and my Mac, but these problems still persist. Any idea how to fix?
It is a known issue that you can follow here: https://github.com/xamarin/xamarin-macios/issues/12778
Also there are few workarounds that work mentioned in the issue.

Unable to upload Xamarin.ios solution to TestFlight cause of following error:

We have an update scheduled for our iOS app which needs to be uploaded to TestFlight first. Hovever, just out of nowhere, the following error keeps preventing Visual Studio from uploading the solution to TestFlight:
This is a screenshot of the error
I am relatively new to this and have no clue where to look in VS. And I've already been searching everywhere online..
Some extra info:
Visual Studio for Mac (latest version)
macOS Big Sur (11.2.3 - latest)
I do believe this might have something to do with the implementation of Firebase into my app. But being a relative newbie, I'm also not entirely sure where to look..
I'd love to hear from anyone with a solution!!
I found the answer!
For some reason all I had to do was get rid of the old xCode version I had and download the latest from apple's website rather than the app store...

Xamarin UITest for Android: POST Failed

With my project upon running UI Tests I get POST Failed error. I can't figure what is the cause of the problem. UITests Post Failed in Xamarin.forms, related to the same issue did not help.
On an actual device I get Instrumentation backend app installed (it runs as a server for UI Tests). But I am still getting POST Failed error.
How to fix this issue?
The problem is related to the Android OS version.
Instrumentation backend application does not work properly on new android os-es.
I created a simulator with older Android OS (Android 6.0 Marshmallow).
And ran UITests with this simulator selected in Visual Studio.
And all things worked.
Hope it will help someone who struggles with the same issue.
Old school things are better than new ones.

Visual studio for mac not building

When I build my project in debug mode it builds forever. However there is no problem building in release mode.
This problem first occurred when I updated visual studio for mac to the newest version:
Preview 6 (7.0 build 2740).
This is what my debug settings look like:
Any ideas are much appreciated.
Check for xamarin.forms updates in both in the ios and xamarin project. It could be that theese are not updated even though the solution is updated.
Xamarin.forms package under the iOS project might have an older version
I cannot really help you because I don't know what type of project you tried to run or which OS X you are working with.
If such an Error occurs, always check your code or try restarting your mac.
Tip: "Visual Studio for Mac Preview" is still in its Alpha. Use the Stable Update channel to avoid errors like this.

New android solution issue, MainActivity.cs not found

I tried to create an android solution using Xamarin studio but it always show me "MainActivity.cs not found!" error.I re-installed the software and the same issue appears. This error occurs when I try to create a new "Android application" Solution. After goggling it seems that my Xamarin.Android installation is not complete\corrupt but I am unable to get an installation link for it on the website.
can any one help me in this ?
I finally got this to work by
uninstalling everything,
turning off antivirus,
running the "recommended" Xamarin installer as an administrator
restarting my PC.
Hope this helps someone.
If you still searching for the solution.
This my understanding of cause and the solution.
Reason you are getting this error is because you do not have a correct right. You can see this by Xamarin Installation error exception - one of the parameter is privilege.
You need xamarin android installed to get this working!!
Xamarin is currently offering subscription and you are only have starter right.
search google "xamarin starter", go to the site down the xamarin installation again. follow the steps.
Once Xamarin Visual Studio got installed then this should be working..

Resources