Generating APK with Support for Proxying into Network Traffic
Esta página aún no está disponible en tu idioma.
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:
- If you have not already done so, create a new XML file:
res/xml/network_security_config.xml
. - In your application manifest
AndroidManifest.xml
, add the configuration to yourapplication
attribute:<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> - Create a debug build.
- On native Android: build with a debug configuration.
- On Unity: select Development Build in Build Settings.