Forum Xamarin.Forms

OkHttp install leads to compilation error - Xamarin Forms

Hello all,

I'm working on a calculator app in Xamarin Forms, Android and iOS, with a survey function to report the user's location to the nearest degree of latitude and longitude and send it to a web service if proper permissions are given. I could send an HttpWebRequest without issue, but in trying to implement a way to use https, I installed OkHttp. On compliation of the Android version, this throws the Lokio/AsyncTimeout error referenced on this GitHub thread(the one about OneSignal) and I can't find a reference to either OneSignal or OkHttp in my project, and after rolling back my changes this error still occurs. How can I remove OneSignal or OkHttp, whichever would be best? Thank you.

Sign In or Register to comment.