title: How to add Android Network Security Config for API less than 24
body: <p><a href="https://developers.facebook.com/docs/audience-network/android-network-security-config" rel="noreferrer">Facebook Audience Network</a> states that.</p>
  
  <blockquote>
    <p>In the Audience Network Android SDK, we use 127.0.0.1 (localhost) as a caching proxy to cache media files in the SDK. Since Android P, cleartext traffic (unencrypted HTTP) will be blocked by default, which will affect the functionality of media caching of the SDK and could affect user experience and ads revenue.</p>
  </blockquote>
  
  <p>Now if I try to add this line <code>android:networkSecurityConfig="@xml/network_security_config"</code> in my <code>AndroidManifest</code> I am getting warning that attribute networkSecurityConfig is used in API 24 and higher as my app supports <strong>minSdkVersion 15</strong> . </p>
  
  <p>How should I add the <code>android:networkSecurityConfig</code> so that it won't be impacting API less than 24</p>