Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. qt for android building error Mac
Qt 6.11 is out! See what's new in the release blog

qt for android building error Mac

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
8 Posts 3 Posters 905 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.
  • F Offline
    F Offline
    fatih1
    wrote on last edited by
    #1

    Hello , I wanted to create an arduino app and wanted to start to test the qt for Android
    But I am getting some errors during the build.

    First of all , I have a Macbook Catalina 10.15.4
    I had no problems with qt creator

    I have installed java jdk 8 and as well as 13 ( I tested both)
    I installed gradle, Android NDK r21d and Android Studio ( newest version )
    with following packagesScreenshot 2020-07-07 at 19.58.16.png Screenshot 2020-07-07 at 19.58.01.png Screenshot 2020-07-07 at 19.57.47.png

    I get the following building errors

    Screenshot 2020-07-07 at 20.01.16.png Screenshot 2020-07-07 at 20.01.27.png

    As I said, I have tried it with both Java Jdk's

    Does anyone know what I can do against this? I have deployed the emulator with an x86 architecture ,maybe this is the error?

    Thanks

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

      Hi,

      Never seen that error. What version of gradle do you have ?

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

      1 Reply Last reply
      0
      • F Offline
        F Offline
        fatih1
        wrote on last edited by
        #3

        The gradle version is 6.5.1

        I tried it with Java JDK 8 , 13 and 14(the newest)

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

          How did you install it ?

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

          1 Reply Last reply
          0
          • F Offline
            F Offline
            fatih1
            wrote on last edited by
            #5

            I installed gradle via brew
            And java via oracle page https://www.oracle.com/java/technologies/javase-downloads.html

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

              I thought that gradle would be downloaded when first needed. Did you try that way ?

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

              1 Reply Last reply
              0
              • F Offline
                F Offline
                fatih1
                wrote on last edited by
                #7

                I uninstalled it and tried again: the result is still this Screenshot 2020-07-07 at 22.13.53.png

                M 1 Reply Last reply
                0
                • F fatih1

                  I uninstalled it and tried again: the result is still this Screenshot 2020-07-07 at 22.13.53.png

                  M Offline
                  M Offline
                  mujeek
                  wrote on last edited by
                  #8

                  @fatih1
                  I solved this gradle issue by using latest version (6.6.1) as it's explained in topic: Qt 5.15.0 Android apk deployment failure.
                  My application does not work yet, because of a launch error (perhaps a missing module in the resulting apk).
                  I'm still working on it, so I can't give you more help.

                  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