Error: No resource found that matches the given name (at ‘networkSecurityConfig‘ with value ‘@xml/ne

执行命令
cordova build android
错误提示No resource found that matches the given name (at ‘networkSecurityConfig’ with value '@xml/network_s
解决方法
项目根目录\platforms\android\res\xml
添加文件network_security_config.xml(名字自定义)



    

找到文件项目根目录\platforms\android\AndroidManifest.xml
添加

 

    

...>

    

你可能感兴趣的:(ionic,xml,android,android,studio)