java.io.IOException : No authentication challenges found
I am newbie to android and this is my first project on android. I am struggling with "authentication" problem for more than a day. I tried several options but none of them worked. Basically, I want to call a REST API and get response. I am sure that there is no problem in API as I use the same one in another iOS application. I pass authorization header but still authentication no found message is shown. I found few question on stackoverflow related to this, but some of them did not work and some does not make sense to me. I get status code 401 . I know this means either no authentication