Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-10008

Android: Sometimes Qt Creator will generate an undeployable Android project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • None
    • Qt Creator 2.8.0
    • Android Support
    • None

      This is not 100% reproducible, but has been seen on three different machines the past few days.

      I initially thought it was due to miscompiled Qt versions, because the problem went away when Qt was recompiled and I made a new project for it.

      However, I recently reproduced this using the Qt 5.1.1 RC package.

      I did the following:
      1. Opened the "gallery" example
      2. Hit run

      When it's finished with building and deploying, I get a message box saying there's an error. Do I want to ignore it? If I do not ignore it, I can see under "Issues" that Creator was unable to get ELF information from the binary.

      If I do ignore it, I get the following: http://paste.kde.org/pafc96eaf/

      See line 13: "Cannot find ''." This has been present in all the cases of this bug, so it seems related.

      The application crashes on start-up with the following error message:

      W/System.err( 5532): java.lang.ClassNotFoundException: Didn't find class "org.qtproject.qt5.android.QtActivityDelegate" on path: DexPathList[[],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
      

      When I check under android/libs, I can see that Qt Creator has not bundled any of the necessary files in there.

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

            dt Daniel Teske
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes