我按照此指南配置“ network_security_config” https://developer.android.com/training/articles/security-config?hl=es-419,但对我不起作用。该应用程序会响应所有域和证书,而不仅仅是“ network_security_config”中配置的
在AndroidManifest.xml中,我添加了<application android:networkSecurityConfig="@xml/network_security_config" />
还有我的network_security_config
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config>
<domain includeSubdomains="true">mysite.com</domain>
<trust-anchors>
<certificates src="@raw/comodo"/>
</trust-anchors>
</domain-config>
</network-security-config>
可能是什么问题?