I'm getting the following error when the app finishes installing on the emulator using Xamarin Release run tool.
GREF GC Threshold: 1800
Unhandled Exception:
System.Net.WebException: Error: NameResolutionFailure
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
at CallRestService.Activity1.<OnCreate>m__0 (IAsyncResult ar) [0x00000] in <filename unknown>:0
at System.Net.WebAsyncResult.CB (System.Object unused) [0x00000] in <filename unknown>:0
The emulator is running Android 2.3.3, and the Debug build ran from Xamarin compiler works just fine.
Any hint on why this is happening and how to solve this problem?
Had the same issue. Solved by adding <uses-permission android:name="android.permission.INTERNET" />
to the manifest.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With