Localhost:8100 could not be loaded because net::ERR_CLEARTEXT_NOT_PERMITTED

I believe Capacitor projects don’t have a config.xml file only Cordova has. I’m running Ionic 5 with React and Capacitor and I have no config.xml file anywhere.

Getting back to the original error, I had the same issue and this post worked for me, it describes changes you need to make to the android manifest file, hope it works for you too