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. Qt for android android version is 4.4,build wrong

Qt for android android version is 4.4,build wrong

Scheduled Pinned Locked Moved Solved Mobile and Embedded
8 Posts 2 Posters 986 Views
  • 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.
  • A Offline
    A Offline
    angelatyizhong
    wrote on 5 Jun 2020, 05:05 last edited by angelatyizhong 6 May 2020, 05:07
    #1

    while i build android 4.4 with android-20,see the below picture.when i build with android-27,build successful,but install with wrong.
    QQ图片20200605130036.png

    J 1 Reply Last reply 5 Jun 2020, 05:06
    0
    • A angelatyizhong
      5 Jun 2020, 06:03

      @jsulm if i choose Qt5.9.0,which version should i choose wich sdk,ndk and jdk?

      J Online
      J Online
      jsulm
      Lifetime Qt Champion
      wrote on 5 Jun 2020, 06:11 last edited by
      #8

      @angelatyizhong See https://doc.qt.io/qt-5.9/android-support.html
      https://doc.qt.io/qt-5.9/androidgs.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3
      • A angelatyizhong
        5 Jun 2020, 05:05

        while i build android 4.4 with android-20,see the below picture.when i build with android-27,build successful,but install with wrong.
        QQ图片20200605130036.png

        J Online
        J Online
        jsulm
        Lifetime Qt Champion
        wrote on 5 Jun 2020, 05:06 last edited by
        #2

        @angelatyizhong I don't see any picture.
        What is the device where you try to install? What is the Android version on this device? What error do you get?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • A Offline
          A Offline
          angelatyizhong
          wrote on 5 Jun 2020, 05:22 last edited by
          #3

          android device with android 4.4

          J 1 Reply Last reply 5 Jun 2020, 05:25
          0
          • A angelatyizhong
            5 Jun 2020, 05:22

            android device with android 4.4

            J Online
            J Online
            jsulm
            Lifetime Qt Champion
            wrote on 5 Jun 2020, 05:25 last edited by
            #4

            @angelatyizhong API 27 is available starting with Android 8.x, see https://en.wikipedia.org/wiki/Android_version_history
            So, it can't work on Android 4.4.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1
            • A Offline
              A Offline
              angelatyizhong
              wrote on 5 Jun 2020, 05:42 last edited by
              #5

              but when i choose android-20,i can not build successful,the failure show as the picture.why?(sdk version:26.1.1,ndk version:21.2.6472646)

              J 1 Reply Last reply 5 Jun 2020, 05:51
              0
              • A angelatyizhong
                5 Jun 2020, 05:42

                but when i choose android-20,i can not build successful,the failure show as the picture.why?(sdk version:26.1.1,ndk version:21.2.6472646)

                J Online
                J Online
                jsulm
                Lifetime Qt Champion
                wrote on 5 Jun 2020, 05:51 last edited by
                #6

                @angelatyizhong Because with Qt 5.14 you need API 21 or higher, see https://doc.qt.io/qt-5.14/android.html
                If you really need to support Android 4.4 use an older Qt version.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                A 1 Reply Last reply 5 Jun 2020, 06:03
                1
                • J jsulm
                  5 Jun 2020, 05:51

                  @angelatyizhong Because with Qt 5.14 you need API 21 or higher, see https://doc.qt.io/qt-5.14/android.html
                  If you really need to support Android 4.4 use an older Qt version.

                  A Offline
                  A Offline
                  angelatyizhong
                  wrote on 5 Jun 2020, 06:03 last edited by
                  #7

                  @jsulm if i choose Qt5.9.0,which version should i choose wich sdk,ndk and jdk?

                  J 1 Reply Last reply 5 Jun 2020, 06:11
                  0
                  • A angelatyizhong
                    5 Jun 2020, 06:03

                    @jsulm if i choose Qt5.9.0,which version should i choose wich sdk,ndk and jdk?

                    J Online
                    J Online
                    jsulm
                    Lifetime Qt Champion
                    wrote on 5 Jun 2020, 06:11 last edited by
                    #8

                    @angelatyizhong See https://doc.qt.io/qt-5.9/android-support.html
                    https://doc.qt.io/qt-5.9/androidgs.html

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    3

                    1/8

                    5 Jun 2020, 05:05

                    • Login

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