locked
SignalR and RestSharp not working in Xamarin.Android RRS feed

  • Question

  • User40582 posted

    I've got SignalR and RestSharp working in Xamarin.iOS but not in Xamarin.Android: - SignalR connects and immediately disconnects - RestSharp is executing my RestRequest but returns just "" as data

    I can't see any exceptions, but IRestResponse's ErrorMessage is "Error: NameResolutionFailure" (ErrorException is null, though)

    In output I see [Mono] AOT module '/data/data/iXhibitor.Android/files/.override/System.Net.Http.Extensions.dll.so' not found: dlopen failed: library "/data/data/iXhibitor.Android/lib//data/data/iXhibitor.Android/files/.override/System.Net.Http.Extensions.dll.so" not found [Mono] Assembly Ref addref Microsoft.AspNet.SignalR.Client[0x596265a0] -> System.Net.Http.Extensions[0x59681f40]: 2 [Mono] AOT module 'System.Net.Http.dll.so' not found: dlopen failed: library "/data/data/iXhibitor.Android/lib/System.Net.Http.dll.so" not found but followed by Loaded assembly: System.Net.Http.dll [External] so it seems to me System.Net.Http namespace was loaded successfully.

    In iOS evertyhing is working fine (that code is in a shared project) I need help, please! :(

    Monday, June 16, 2014 10:51 AM

All replies

  • User40582 posted

    ah, forgot to say I declared uses-permission android:name="android.permission.INTERNET"

    Monday, June 16, 2014 10:52 AM
  • User40582 posted

    I'm so sorry, I used an IP which was running in a VM, thus unconnectable for my device... urgh, shame

    Monday, June 16, 2014 11:06 AM