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

Android: Qt-5.9 Breaks Build of 3-rd Party JARs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.9.1
    • QPA
    • None
    • Android

    Description

      My project requires adding licensing of Google Play.

      To do that, to the directory android/libs was added

      support-v4-24.1.1-sources.jar with its dependencies:

      internal_impl-24.1.1.jar org.apache.http.legacy.jar support-annotations-24.1.1.jar

      The project var ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android

      properly points to the android files.

       

      QtCreator 4.3.1 as well as previous duly build correctly when using Qt-5.7.1

      (see the build-log attached).

      However, the build fails when using Qt-5.9.1 (see the build-log attached  as well).

      The 3-rd party jar files were copied, but not used for build.

       

      Further, I've tried to follow the instructions at page:

      http://doc.qt.io/qt-5/android3rdpartylibs.html

      and created

      $PROJECT_ROOT/android/project.properties file

      with the following content:

      android.library.reference.1=libs

      However, it was not helpful

       

      There are two verbose logs attached:

      1. Successful build with Qt-5.7.1
      2. Failed build with Qt-5.9.1

       

       

       

       

       

      Attachments

        1. build-at-5.7.1-correct.txt
          234 kB
          Robert Iakobashvili
        2. build-at-5.9.1-failed.txt
          49 kB
          Robert Iakobashvili
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            taipan BogDan Vatra
            coroberti Robert Iakobashvili
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes