作者:A因为爱情Q_860 | 来源:互联网 | 2023-09-08 21:29
Not able to request continuously getting error
com.androidnetworking.error.ANError: java.lang.NullPointerException: Attempt to invoke virtual method 'okhttp3.HttpUrl$Builder okhttp3.HttpUrl.newBuilder()' on a null object reference
该提问来源于开源项目:amitshekhariitbhu/Fast-Android-Networking
I also encounter the same error, my URL is this
1
| http://523.642.333.80:9002/ |
. Did you find the solution..?
I think you should use the url in his format "http://site.com" or "https://site.com" and not "site.com" coz if you use it without http or https you will get the okhttp3 url builder error