Resolved – SignalR Core Client issues with Xamarin Forms

Error:- A common cause is to ‘adb install’ the app directly instead of doing from the IDE.

Android app crashes when you use Microsoft.AspNetCore.SignalR.Client  with Xamarin Forms/ Android

Work Around:

1, Install latest  System.Memory NuGet package version 4.5.0-preview1-26216-02 on your Xamarin.Android  project

2, Build your Xamarin.Android project and copy the C:\Users\{your_user}\.nuget\packages\system.runtime.compilerservices.unsafe\4.5.0-preview1-26216-02\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll to {MyApp}.Android\obj\Debug\android\assets\

3, Start your Android app

Related Topic

How to integrate SignalR Core with Xamarin Forms?

Add Comment