Answers for "HTTP FAILED: java.net.UnknownServiceException: CLEARTEXT communication to a305f856cfd774cc3904de5cda3d1778-1096872392.ap-southeast-1.elb.amazonaws.com not permitted by network security policy"

11

android manifest cleartext traffic permitted

<?xml version="1.0" encoding="utf-8"?>
<manifest ...>
    <uses-permission android:name="android.permission.INTERNET" />
    <application
        ...
        android:usesCleartextTraffic="true"
        ...>
        ...
    </application>
</manifest>
Posted by: Guest on February-23-2020
1

cleartraffic to true

<?xml version="1.0" encoding="utf-8"?>
<manifest ...>
    <uses-permission android:name="android.permission.INTERNET" />
    <application
        ...
        android:usesCleartextTraffic="true"
        ...>
        ...
    </application>
</manifest>
Posted by: Guest on December-29-2020

Code answers related to "HTTP FAILED: java.net.UnknownServiceException: CLEARTEXT communication to a305f856cfd774cc3904de5cda3d1778-1096872392.ap-southeast-1.elb.amazonaws.com not permitted by network security policy"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language