When upgrade the project to Android P, i am testing on my machine and i don't have HTTPS config
when trying to invoke request i got this error
com.androidnetworking.error.ANError: java.net.UnknownServiceException: CLEARTEXT communication to 192.168.1.164 not permitted by network security policy
I walk through this article Network security configuration and its not working.
Any ideas?
@amitshekhariitbhu i have face the same issue please any help or idea
@MxNINJA same d u find any solutions
will, i update the network-security-config file with this:
<network-security-config>
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
</trust-anchors>
</base-config>
</network-security-config>
and its working
@MxNINJA
thanks...
it's working..
Most helpful comment
will, i update the
network-security-configfile with this:<network-security-config> <base-config cleartextTrafficPermitted="true"> <trust-anchors> <certificates src="system" /> </trust-anchors> </base-config> </network-security-config>and its working