Generating APK with Support for Proxying into Network Traffic

In some cases, the AppLovin team may request a debuggable APK with the ability to proxy into networking traffic using Android’s Network Security Configuration feature.

These instructions show you how to accomplish this:

  1. If you haven’t already done so, under the xml folder of the app resources, create a new XML file: res/xml/network_security_config.xml.
  2. In your application manifest AndroidManifest.xml, add the configuration to your application attribute as follows:
       <application android:networkSecurityConfig="@xml/network_security_config">
  3. In the res/xml/network_security_config.xml file, add the following:
             <certificates src="system" />
             <certificates src="user" />