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 984 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 last edited by angelatyizhong
    #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

    jsulmJ 1 Reply Last reply
    0
    • A angelatyizhong

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

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on 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

        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

        jsulmJ Online
        jsulmJ Online
        jsulm
        Lifetime Qt Champion
        wrote on 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 last edited by
          #3

          android device with android 4.4

          jsulmJ 1 Reply Last reply
          0
          • A angelatyizhong

            android device with android 4.4

            jsulmJ Online
            jsulmJ Online
            jsulm
            Lifetime Qt Champion
            wrote on 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 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)

              jsulmJ 1 Reply Last reply
              0
              • A angelatyizhong

                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)

                jsulmJ Online
                jsulmJ Online
                jsulm
                Lifetime Qt Champion
                wrote on 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
                1
                • jsulmJ jsulm

                  @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 last edited by
                  #7

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

                  jsulmJ 1 Reply Last reply
                  0
                  • A angelatyizhong

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

                    jsulmJ Online
                    jsulmJ Online
                    jsulm
                    Lifetime Qt Champion
                    wrote on 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

                    • Login

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