EARTEXT android security_error ai_generated true

CLEARTEXT communication not permitted

ID: android/network-security-config

Also available as: JSON · Markdown
88%Fix Rate
90%Confidence
3Evidence
2023-01-01First Seen

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
14 active

Root Cause

Android blocks cleartext HTTP by default since API 28.

generic

Workarounds

  1. 92% success Use HTTPS for all endpoints
  2. 88% success Add network_security_config.xml for specific debug domains only

Dead Ends

Common approaches that don't work:

  1. Set usesCleartextTraffic=true globally 85% fail

    Security vulnerability

  2. Downgrade targetSdkVersion 80% fail

    Loses new API features