Answers for "java.net.UnknownServiceException: CLEARTEXT communication to not permitted by network security policy"

1

CLEARTEXT communication to 13.232.95.6 not permitted by network security policy

in manifest file add this ====>

<application>
android:usesCleartextTraffic="true"
</application>
Posted by: Guest on December-23-2020
0

HTTP FAILED: java.net.UnknownServiceException: CLEARTEXT communication to ztdev.co.za not permitted by network security policy

<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
    <base-config cleartextTrafficPermitted="true" />
</network-security-config>

in manifest

<application
        android:usesCleartextTraffic="true"
    </application>
Posted by: Guest on August-05-2020

Code answers related to "java.net.UnknownServiceException: CLEARTEXT communication to not permitted by network security policy"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language