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:
- 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
. - In your application manifest
AndroidManifest.xml
, add the configuration to your application attribute as follows:<manifest> <application android:networkSecurityConfig="@xml/network_security_config"> ⋮ </application> </manifest>
- In the
res/xml/network_security_config.xml
file, add the following:<network-security-config> <debug-overrides> <trust-anchors> <certificates src="system" /> <certificates src="user" /> </trust-anchors> </debug-overrides> </network-security-config>