1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

Android Question android:usesCleartextTraffic="true" need help!

Discussion in 'Android Questions' started by tufanv, Jun 20, 2019.

  1. tufanv

    tufanv Expert Licensed User

  2. DonManfred

    DonManfred Expert Licensed User

    Start with using the forumsearch before asking

    One of the threads found is android.jar / targetSdkVersion / minSdkVersion which must have a reason. As this thread is a really important one regarding changes in the Android SDK you should revisit the thread.

    Erel likes this.
  3. tufanv

    tufanv Expert Licensed User

    this search result doesnt give any result except my own message: err_cleartext_not_permitted

    After adding the required text to manifest , the app directly crashes on android 8 devices. I will debug and post what causes the crash. I have changed the target apk to 26 again temporarily.
  4. ilan

    ilan Expert Licensed User

  5. Brandsum

    Brandsum Active Member Licensed User

    Add this to project manifest,
    SetApplicationAttribute(android:usesCleartextTraffic, "true")
    I have tested it in Android 8 and 9.
    Xicu and ilan like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice