No Network Security Config specified, using platform default code example

Example 1: D/NetworkSecurityConfig: No Network Security Config specified, using platform default

android:usesCleartextTraffic="true"
android:networkSecurityConfig="@xml/network_security_config"

Example 2: D/NetworkSecurityConfig: No Network Security Config specified, using platform default

<uses-library android:name="org.apache.http.legacy" android:required="false"/>

Example 3: D/NetworkSecurityConfig: No Network Security Config specified, using platform default

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

Tags:

Java Example