<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">localhost</domain>
<domain includeSubdomains="true">abcd.com</domain>
</domain-config>
</network-security-config>
Try with this code use your domain in abcd.com , do not change the localhost