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 5.13 and Android
QtWS25 Last Chance

Qt 5.13 and Android

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 2 Posters 833 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.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    Hi, I have a Debian 10 machine with java 1.11.
    When I try to build an Android app, gradle is required. If gradle is not present in the machine a gradle package will automatically downloaded.
    The problem is that will be downloded the 4.6 version that does not support java 1.11.
    If I download the latest gradle how can I setup its path?
    How can I use ant instead of gradle? The ant path configuration was been removed from QtCreator.

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

    J.HilkJ 1 Reply Last reply
    0
    • mrdebugM mrdebug

      Hi, I have a Debian 10 machine with java 1.11.
      When I try to build an Android app, gradle is required. If gradle is not present in the machine a gradle package will automatically downloaded.
      The problem is that will be downloded the 4.6 version that does not support java 1.11.
      If I download the latest gradle how can I setup its path?
      How can I use ant instead of gradle? The ant path configuration was been removed from QtCreator.

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      hi @mrdebug
      you actually don't use ANT, it's no longer supported for Android, I would suggest moving away from it as well.

      I would suggest taking a look at the docs
      https://doc.qt.io/qt-5/android-getting-started.html

      they have a rather detailed explanation on how to get started with Qt for android, for all Development systems.

      Besides that take a look at this blog post
      https://blog.qt.io/blog/2019/06/28/comply-upcoming-requirements-google-play/

      It targets the 64/32 bit App Store stuff, but Eskil Abrahamsen Blomfeldt also does an excellent job at explaining trip falls for the development environment setup


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      0
      • mrdebugM Offline
        mrdebugM Offline
        mrdebug
        wrote on last edited by
        #3

        The problem is that the sdk setup wants the old gradle 4.6. The old gradle wants the old java 8 (why a java software wants a specific java version? So it is not so well made).
        The latest gradle 5.6 works with java 11 but the android sdk wants the old gradle.
        With ant I don't remember problems like that.

        Need programmers to hire?
        www.labcsp.com
        www.denisgottardello.it
        GMT+1
        Skype: mrdebug

        J.HilkJ 1 Reply Last reply
        0
        • mrdebugM mrdebug

          The problem is that the sdk setup wants the old gradle 4.6. The old gradle wants the old java 8 (why a java software wants a specific java version? So it is not so well made).
          The latest gradle 5.6 works with java 11 but the android sdk wants the old gradle.
          With ant I don't remember problems like that.

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @mrdebug said in Qt 5.13 and Android:

          The problem is that the sdk setup wants the old gradle 4.6.

          what sdk setup are you talking about


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          0
          • mrdebugM Offline
            mrdebugM Offline
            mrdebug
            wrote on last edited by
            #5

            Fortunately, download the java 8 as tar in a folder without to install it it is enough.
            Qt Creator can manage the java path without to have it in the standard paths.

            Need programmers to hire?
            www.labcsp.com
            www.denisgottardello.it
            GMT+1
            Skype: mrdebug

            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