Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

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.