In order to fix "cleartext communication to localhost not permitted by a network security policy," error I got while running debugger remotely from a physical device attached to my mac. I created an
network_security_config.xml file and inserted the following code.
<network-security-config>
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
</trust-anchors>
</base-config>
</network-security-config>
I pointed this file to AndroidManifest.xml file.
<application
android:networkSecurityConfig="@xml/network_security_config"However, now when I run the application I get this error:
"textTransform" is not a valid style property.StyleSheet root: {"backgroundColor":"#0000000", "fontWeight":"normal", "fontStyle": "normal", "textDecorationLine: "none", "textTransform:: "none"}
If I remove the network_security_config.xml file. Everything runs as expected but I can not access remote debugger.