Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Create Templates (Android APK) does not work
Forum Updated to NodeBB v4.3 + New Features

Create Templates (Android APK) does not work

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
8 Posts 2 Posters 809 Views 1 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.
  • R Offline
    R Offline
    realroot
    wrote on last edited by
    #1

    When I click Create Templates it should make one in /path/project/android but it does not.
    qtcreator2.png

    When compiling: No Android architecture (ABI) is set by the project.,
    I also have this error:
    Cannot open "/path/project/build/Android-Debug/android-build/AndroidManifest.xml".

    I think that AndroidManifest.xml should be generated automatically.

    qtcreator -version
    Qt Creator 14.0.1 based on Qt 6.7.2
    
      Android 14.0.1 Develop applications for Android devices.
    
    1 Reply Last reply
    0
    • R Offline
      R Offline
      realroot
      wrote on last edited by
      #2

      I see this in the command line:

      SOFT ASSERT [13:50:52.113]: "gradlePath.exists()" in /build/qtcreator/src/qt-creator/src/plugins/android/createandroidmanifestwizard.cpp:293
      

      I made the directory manually, it asks to override it but nothing happens.

      1 Reply Last reply
      0
      • R Offline
        R Offline
        realroot
        wrote on last edited by
        #3

        qtcreator3.png
        How do I fix No compiler can produce code for this Qt version?

        As in https://forum.qt.io/post/738879 I do not have ABIs in Projects->Build->Build Steps->qmake -- details to select ABIs.

        1 Reply Last reply
        0
        • cristian-adamC Online
          cristian-adamC Online
          cristian-adam
          wrote on last edited by
          #4

          You need to post two new screenshots:

          1. The Android settings page, then we can know which Java JDK and Android NDK you are using
          2. The compilers page
          1 Reply Last reply
          0
          • R Offline
            R Offline
            realroot
            wrote on last edited by realroot
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • R Offline
              R Offline
              realroot
              wrote on last edited by
              #6

              qtc5.png

              qtc4.png

              1 Reply Last reply
              0
              • cristian-adamC Online
                cristian-adamC Online
                cristian-adam
                wrote on last edited by
                #7

                Please open a bug report at https://bugreports.qt.io/secure/CreateIssue.jspa?pid=10512

                We had this issue in the past, with the Android compiler mismatch, but it looks like you are using Qt Creator 14.0.1...

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  realroot
                  wrote on last edited by
                  #8

                  Is there a Linux distro where this is knows to work surely?
                  Meanwhile I can make a virtual machine.
                  (Bug opened already).

                  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