Apk Android 5 & 6 doesn't run POST request but Android 4 does


We encounter an issue with Apk on android 5 & 6:

-Installation is ok

  • Start Aoolication is ok
  • When I try log in (POST request) it doesn’t work with “undefined error”

With the same APK on Android 4: all is fine (Installation / Start and POST request)

Our AndroidManifest.xml:

<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="22" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FLASHLIGHT" />

Thanks in advance for your help !