Skip to content

Generating APK with Support for Proxying into Network Traffic

The AppLovin team may request a debuggable APK that can proxy into networking traffic by using Android’s Network Security Configuration feature.

These instructions show you how to create such an APK:

  1. If you have not already done so, 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:
    <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" />
  4. Create a debug build.
    • On native Android: build with a debug configuration.
    • On Unity: select Development Build in Build Settings.