To begin with, I was using org.apache.http functions for a while now and error came when I tried to launch my app on API 28. It\'s working on API 26 and API 23, but suddenly
I had the same problem. I resolved it by using HTTPS, instead of HTTP. Apparently, a secure connection is now required.