# Google rejection "cleartext traffic allowed for all domains"

**URL:** <https://forums.solar2d.com/t/google-rejection-cleartext-traffic-allowed-for-all-domains/352630>\
**Category:** Android\
**Created:** [October 30, 2020, 5:52pm UTC](https://forums.solar2d.com/t/google-rejection-cleartext-traffic-allowed-for-all-domains/352630 "2020-10-30T17:52:29Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![colinmorgan](https://forums.solar2d.com/user_avatar/forums.solar2d.com/colinmorgan/32/241_2.png) [@colinmorgan](https://forums.solar2d.com/u/colinmorgan)\
**Post date:** [March 11, 2022, 9:29am UTC](https://forums.solar2d.com/t/google-rejection-cleartext-traffic-allowed-for-all-domains/352630/12 "2022-03-11T09:29:39Z")

</div>

There’s nothing to do in `build.settings`- you need to add a `network_security_config.xml` file to AndroidResources\res\xml

> [@How to modify build.settings](https://forums.solar2d.com/t/how-to-modify-build-settings/354365/11):
>
> Finally I found out how to access not secured local ressources (HTTP instead of HTTPS) on Android \> 8 The difficulty for me was to find where I had to create the network\_security\_config.xml file, it must be in the …myProject\AndroidResources\res\xml folder With that simple content : \<?xml version="1.0" encoding="utf-8"?\> \<network-security-config\> \<base-config cleartextTrafficPermitted="true" /\> \</network-security-config\> And that’s it. Hope that can help someone else Rod

---

_[View the full topic](https://forums.solar2d.com/t/google-rejection-cleartext-traffic-allowed-for-all-domains/352630)._
