Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-34649

Android: Qt Quick apps crash on startup with FileNotFoundException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 5.2.0 Beta1
    • QPA
    • None
    • Android

    Description

      Try running e.g. the Qt Quick Controls: Gallery example on Android with the latest beta1 package. It will get an exception on startup:

      E/Qt      ( 5868): java.io.FileNotFoundException: --Added-by-androiddeployqt--/qml/QtGraphicalEffects/private/GaussianDirectionalBlur.qml
      E/Qt      ( 5868): 	at android.content.res.AssetManager.openAsset(Native Method)
      E/Qt      ( 5868): 	at android.content.res.AssetManager.open(AssetManager.java:316)
      E/Qt      ( 5868): 	at android.content.res.AssetManager.open(AssetManager.java:290)
      E/Qt      ( 5868): 	at org.qtproject.qt5.android.bindings.QtActivity.copyAsset(QtActivity.java:376)
      E/Qt      ( 5868): 	at org.qtproject.qt5.android.bindings.QtActivity.extractBundledPluginsAndImports(QtActivity.java:429)
      E/Qt      ( 5868): 	at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:465)
      E/Qt      ( 5868): 	at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:731)
      E/Qt      ( 5868): 	at android.app.Activity.performCreate(Activity.java:5133)
      ...
      

      This is on Windows, with an updated SDK and NDK r9b. The file is present under assets in the build directory, so maybe it's not being correctly included in the bundle by ant anymore?

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes