0

I'm trying to make http request on android 9, but it fails. For other versions of android it works fine, the issue is only related with android 9, I have also tried to add android:usesCleartextTraffic="true" attribute to android manifest, but it doesn't help.

Robert Apikyan
  • 1,972
  • 1
  • 20
  • 23
  • 3
    `but it fails` -> how so? care to provide, you know, *any* detail? :) – Martin Marconcini Aug 06 '19 at 11:05
  • https://developer.android.com/about/versions/pie/android-9.0-changes-28#framework-security-changes -- use network security configuration, not the deprecated `android:usesCleartextTraffic="true"` attribute. – CommonsWare Aug 06 '19 at 11:11

0 Answers0