ERR_CLEARTEXT_NOT_PERMITTED error

Does the Android resource compilation failed message go away if you delete the new code?

If it does, there may be a problem in that code. If not, there;s a problem elsewhere in your config.xml.