Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to add android:usescleartexttraffic="true" in manifest

Tags:

android

If I add it in <application> then it is giving me C:\Users\adity\Desktop\Parse-Server-Starter-Project\ParseStarterProject\build\intermediates\packaged_manifests\debug\AndroidManifest.xml:27: AAPT: error: attribute android:usescleartexttraffic not found.

like image 321
Aditya Avatar asked Oct 17 '25 06:10

Aditya


1 Answers

It should be

<application
    android:usesCleartextTraffic="true">

and not

<application>
    android:usesCleartextTraffic="true"
</application>
like image 198
abdiwan Avatar answered Oct 18 '25 21:10

abdiwan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!