ruhulrahat
ruhulrahat

Reputation: 1395

Unfortunately "app_name" has stopped in xamarin forms

After upgrading to Xamarin 4.3.0.784, my app is crashing every time. And I am getting notification "one or more errors occurred" in Xamarin.Android.common.Debugging.Targets file under GetPrimaryCpuAbi tag.

Upvotes: 1

Views: 1631

Answers (2)

Mohamad Mahmoud Darwish
Mohamad Mahmoud Darwish

Reputation: 4175

I did some research about this issue on few days ago, I can give you some tips on the following:

1-try to disable Fast Deployment in android build options(Release Mode).

2-try to disable Shared Shared Runtime in android build options(Release Mode).

3-actually you did not need to enable all architectures check-boxes under Supported architectures.

and if you want to Deal with Startup Crashes, check the following link: https://developer.xamarin.com/guides/insights/platform-features/advanced-topics/dealing-with-startup-crashes/

and to avoid Xamarin.forms app crashes for unknown reason, try to get latest stable version of Xamarin.forms package from nuget.org.

Upvotes: 1

ruhulrahat
ruhulrahat

Reputation: 1395

Finally I found the solution. I opened the project with visual studio, disabled "Use shared runtime", enabled all supported architectures. After restarting, now it is working.

Upvotes: 0

Related Questions