Error in uploading app to google play

Cleartext traffic allowed for all domains

How can i solve this error problem

your app's Network Security Configuration allows cleartext traffic for all domains. This could allow eavesdroppers to intercept data sent by your app. If that data is sensitive or user-identifiable it could impact the privacy of your users.

Consider only permitting encrypted traffic by setting the cleartextTrafficPermitted flag to false, or adding an encrypted policy for specific domains.

Protip: search the community to find the answer

Especially read