Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android: Your application encountered a fatal error and cannot continue
Forum Updated to NodeBB v4.3 + New Features

Android: Your application encountered a fatal error and cannot continue

Scheduled Pinned Locked Moved Solved Mobile and Embedded
4 Posts 3 Posters 2.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nithinsuresh
    wrote on last edited by
    #1

    Hello,

    I submitted an app in .aab format to play store. On downloading the app, It works fine on Android 5,6,7,8 versions. But, it throws this error on Android 9 and Android 10 version. - "your application encountered a fatal error and cannot continue" on opening the app.

    But, if I deploy the same app via USB to a device running Android 9 or Android 10, it works fine. Only on downloading from play store throws the above error.

    Details:
    Qt Version 5.14.1
    Android SDK version 26
    Android NDK version r20b
    android:minSdkVersion="21"
    android:targetSdkVersion="29"

    Any suggestions on how to proceed further?

    Thanks in advance

    M 1 Reply Last reply
    0
    • N nithinsuresh

      Hello,

      I submitted an app in .aab format to play store. On downloading the app, It works fine on Android 5,6,7,8 versions. But, it throws this error on Android 9 and Android 10 version. - "your application encountered a fatal error and cannot continue" on opening the app.

      But, if I deploy the same app via USB to a device running Android 9 or Android 10, it works fine. Only on downloading from play store throws the above error.

      Details:
      Qt Version 5.14.1
      Android SDK version 26
      Android NDK version r20b
      android:minSdkVersion="21"
      android:targetSdkVersion="29"

      Any suggestions on how to proceed further?

      Thanks in advance

      M Offline
      M Offline
      mvuori
      wrote on last edited by
      #2

      I'd try installing from device's file system and then with a web browser from a web server - that would at least make debugging faster... After that you can try to locate where it crashes and, after that, why.

      1 Reply Last reply
      0
      • Quang PhuQ Offline
        Quang PhuQ Offline
        Quang Phu
        wrote on last edited by
        #3

        Hi @nithinsuresh,

        This is a bug in Qt with aab, it was repoted at https://bugreports.qt.io/browse/QTBUG-80766
        For workaround solution you can build apk instead aab and upload all in one release, or add android.bundle.enableUncompressedNativeLibs = false inside gradle.properties

        1 Reply Last reply
        5
        • N Offline
          N Offline
          nithinsuresh
          wrote on last edited by
          #4

          Thank you for your response @mvuori and @Quang-Phu.

          I tried @Quang-Phu solution. It is working perfectly fine. When i download the app from play store, i am not seeing any error. It launches normally.

          Thank you for your help @Quang-Phu

          1 Reply Last reply
          2

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved