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. Can't compile Android apps with new 5.13 Qt
Qt 6.11 is out! See what's new in the release blog

Can't compile Android apps with new 5.13 Qt

Scheduled Pinned Locked Moved Solved Mobile and Embedded
13 Posts 3 Posters 1.1k Views 2 Watching
  • 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.
  • M Offline
    M Offline
    Mr_Ada
    wrote on last edited by
    #1

    I use to be able to compile and create android apps. Now with the latest version of Qt I cannot do this anymore. I consistently see an llvm-strip (or something like that) error. Missing file. What versions of Qt go with what versions of SDK, etc?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      It's explain in the Android Getting Started chapter of Qt's documentation.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        It's explain in the Android Getting Started chapter of Qt's documentation.

        M Offline
        M Offline
        Mr_Ada
        wrote on last edited by
        #3

        @sgaist Thanks for that link. I didn't realize I had to read that all over again since most times I would just update my repository with the maintenance tool. I have downloaded older versions to see where the breakdown occurred and it seems after 5.12.0.

        M 1 Reply Last reply
        0
        • M Mr_Ada

          @sgaist Thanks for that link. I didn't realize I had to read that all over again since most times I would just update my repository with the maintenance tool. I have downloaded older versions to see where the breakdown occurred and it seems after 5.12.0.

          M Offline
          M Offline
          Mr_Ada
          wrote on last edited by
          #4

          I looked at the webpage and doesn't have anything new for me try. I keep getting missing exe files when using later versions of Qt for Android. llvm-strip.exe I believe.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            What NDK do you have currently installed ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            M 1 Reply Last reply
            0
            • SGaistS SGaist

              What NDK do you have currently installed ?

              M Offline
              M Offline
              Mr_Ada
              wrote on last edited by Mr_Ada
              #6

              @sgaist For now I have 17c as that was the only NDK which seemed to work. I will be trying the latest on 5.12.+ versions. I am trying to get the Android 8 versions to work as I was building on the 7 version before.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                Mr_Ada
                wrote on last edited by Mr_Ada
                #7

                Grrrrrrrrrr! Android 8 won't even allow me to install my own app! WTF!?

                mrjjM 1 Reply Last reply
                0
                • M Mr_Ada

                  Grrrrrrrrrr! Android 8 won't even allow me to install my own app! WTF!?

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @mr_ada
                  and you did enable apks from other sources or whatever its called in
                  android 8?

                  M 1 Reply Last reply
                  0
                  • mrjjM mrjj

                    @mr_ada
                    and you did enable apks from other sources or whatever its called in
                    android 8?

                    M Offline
                    M Offline
                    Mr_Ada
                    wrote on last edited by
                    #9

                    @mrjj Yes I do have that enabled. When I tried to install the app it just doesn't give me an option to install it. It decides for me to not install it.

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      IIRC, NDK r19 should be working correctly with Qt 5.12, for earlier versions NDK r10e is recommended.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      M 2 Replies Last reply
                      1
                      • SGaistS SGaist

                        IIRC, NDK r19 should be working correctly with Qt 5.12, for earlier versions NDK r10e is recommended.

                        M Offline
                        M Offline
                        Mr_Ada
                        wrote on last edited by
                        #11

                        @sgaist Ok. I'll try that as I haven't tried that combination before. I also was able to install my app, just had to reboot the phone!

                        1 Reply Last reply
                        0
                        • SGaistS SGaist

                          IIRC, NDK r19 should be working correctly with Qt 5.12, for earlier versions NDK r10e is recommended.

                          M Offline
                          M Offline
                          Mr_Ada
                          wrote on last edited by
                          #12

                          @sgaist I tried Qt 5.12.1 (V8a) and NDK 19c, and got an error about a missing "llvm-strip.exe" file.

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            Mr_Ada
                            wrote on last edited by
                            #13

                            Based on what I have been doing 5.13.0 and NDK 19c seem to compile and build for V7A. V8 is 5.12.0 and NDK 17c.

                            1 Reply Last reply
                            0

                            • Login

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