REAndroid / APKEditor

Powerful android apk editor - aapt/aapt2 independent
Apache License 2.0
843 stars 125 forks source link

Can't add network security configuration #92

Closed secureITmania closed 6 months ago

secureITmania commented 6 months ago

Issue Description I tried to add a custom network security configuration by adding a "network_security_config.xml" file in the XML folder and defining the "android:networkSecurityConfig=@xml/network_security_config" attribute in the AndroidManifest.xml. However, I encountered an error during the build.

Local resource not defined: @xml/network_security_config, for path: res/xml/network_security_config.xml

image

Please help me resolve the issue.

REAndroid commented 6 months ago

Did you declare it on public.xml ?

secureITmania commented 6 months ago

Thank you. I have declared the path in the public.xml file.