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. Unable to run Android App "The application caused a serious error and cannot continue"
Forum Updated to NodeBB v4.3 + New Features

Unable to run Android App "The application caused a serious error and cannot continue"

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 2 Posters 963 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.
  • C Offline
    C Offline
    cmra
    wrote on last edited by
    #1

    I use Qt 5.12.3 and sdk and ndk as the image attached 0_1557395182487_sdk-preview.jpg .
    Unfortunately when i deploy on device i get the error "The application caused a serious error and cannot continue" and in application Output I have:
    W System.err: java.lang.Exception:
    W System.err: at org.qtproject.qt5.android.bindings.QtLoader.loadApplication(QtLoader.java:243)
    W System.err: at org.qtproject.qt5.android.bindings.QtLoader.startApp(QtLoader.java:697)
    W System.err: at org.qtproject.qt5.android.bindings.QtActivityLoader.onCreate(QtActivityLoader.java:183)
    W System.err: at org.qtproject.qt5.android.bindings.QtActivity.onCreateHook(QtActivity.java:266)
    W System.err: at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:273)
    W System.err: at android.app.Activity.performCreate(Activity.java:6942)
    W System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126)
    W System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2880)
    W System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2988)
    W System.err: at android.app.ActivityThread.-wrap14(ActivityThread.java)
    W System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1631)
    W System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
    W System.err: at android.os.Looper.loop(Looper.java:154)
    W System.err: at android.app.ActivityThread.main(ActivityThread.java:6682)
    W System.err: at java.lang.reflect.Method.invoke(Native Method)
    W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
    W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410).

    I don't know what is happening because with the same setting on Qt 12.5.1 all works normally.
    I compile with min API-24 target API-28.

    Anyone has a solution?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jkjyuio
      wrote on last edited by
      #2

      Is there more info on the Exception from logcat? Could it be a missing binary/shared lib?

      1 Reply Last reply
      1
      • C Offline
        C Offline
        cmra
        wrote on last edited by
        #3

        It's very strange behaviour..because this happens only if I make an android template for the project. Instead if I don't create the template and let qt create it inside build directory all works good and no exceptions happens.
        I tried also with example project and the same thing happens.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cmra
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • C Offline
            C Offline
            cmra
            wrote on last edited by
            #5

            Solved, removing and reinstalling sdk and ndk.

            1 Reply Last reply
            0

            • Login

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