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. Qt6.8 for Android,Unable to create the template

Qt6.8 for Android,Unable to create the template

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
9 Posts 2 Posters 212 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.
  • L Offline
    L Offline
    ljxiango
    wrote 28 days ago last edited by
    #1

    Qt 6.8, using CMakeLists.txt, Qt 6.8.3 clang armeabi-v7a, Project - Build - Build Steps - Build Android APK - Create Template, the following warning appears. What should I do?
    error2.png

    J 1 Reply Last reply 28 days ago
    0
    • L ljxiango
      28 days ago

      Qt 6.8, using CMakeLists.txt, Qt 6.8.3 clang armeabi-v7a, Project - Build - Build Steps - Build Android APK - Create Template, the following warning appears. What should I do?
      error2.png

      J Online
      J Online
      jsulm
      Lifetime Qt Champion
      wrote 28 days ago last edited by
      #2

      @ljxiango said in Qt6.8 for Android,Unable to create the template:

      What should I do?

      Check whether you have write permission and drive E: is not mounted read-only.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      L 1 Reply Last reply 25 days ago
      0
      • J jsulm
        28 days ago

        @ljxiango said in Qt6.8 for Android,Unable to create the template:

        What should I do?

        Check whether you have write permission and drive E: is not mounted read-only.

        L Offline
        L Offline
        ljxiango
        wrote 25 days ago last edited by
        #3

        @jsulm
        Thanks for your answer.
        The E drive can be read and written normally, and the project can compile and run without issues. Doesn't this indirectly prove that there are no problems with read/write permissions?!
        I also tried running Qt Creator as an administrator, but the same error occurred.
        In the related tutorials I found online, the project files are all .pro, but mine is CMakeLists.txt. Could this be related to the issue?!

        J 1 Reply Last reply 21 days ago
        0
        • L ljxiango
          25 days ago

          @jsulm
          Thanks for your answer.
          The E drive can be read and written normally, and the project can compile and run without issues. Doesn't this indirectly prove that there are no problems with read/write permissions?!
          I also tried running Qt Creator as an administrator, but the same error occurred.
          In the related tutorials I found online, the project files are all .pro, but mine is CMakeLists.txt. Could this be related to the issue?!

          J Online
          J Online
          jsulm
          Lifetime Qt Champion
          wrote 21 days ago last edited by
          #4

          @ljxiango said in Qt6.8 for Android,Unable to create the template:

          Could this be related to the issue?!

          No, it just means that you're using CMake instead of QMake.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          L 1 Reply Last reply 15 days ago
          0
          • J jsulm
            21 days ago

            @ljxiango said in Qt6.8 for Android,Unable to create the template:

            Could this be related to the issue?!

            No, it just means that you're using CMake instead of QMake.

            L Offline
            L Offline
            ljxiango
            wrote 15 days ago last edited by
            #5

            @jsulm
            When I tried to delete the build folder, I was prompted that administrator privileges are required. Is the issue of "Unable to create the template" caused by this?
            After entering the build folder and attempting to delete files or subfolders one by one, I found that administrator privileges are required for the .cmake files and the .qt folder under Debug. I’m not sure why these files and folders created by the project require administrator privileges.
            5a1cfea3-8c06-46d3-9cea-80b9c5ab9bde-image.png

            J 1 Reply Last reply 15 days ago
            0
            • L ljxiango
              15 days ago

              @jsulm
              When I tried to delete the build folder, I was prompted that administrator privileges are required. Is the issue of "Unable to create the template" caused by this?
              After entering the build folder and attempting to delete files or subfolders one by one, I found that administrator privileges are required for the .cmake files and the .qt folder under Debug. I’m not sure why these files and folders created by the project require administrator privileges.
              5a1cfea3-8c06-46d3-9cea-80b9c5ab9bde-image.png

              J Online
              J Online
              jsulm
              Lifetime Qt Champion
              wrote 15 days ago last edited by
              #6

              @ljxiango Maybe it was because these files were open/in use? Or you ran QtCreator as administrator at some point.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              L 1 Reply Last reply 10 days ago
              0
              • J jsulm
                15 days ago

                @ljxiango Maybe it was because these files were open/in use? Or you ran QtCreator as administrator at some point.

                L Offline
                L Offline
                ljxiango
                wrote 10 days ago last edited by
                #7

                @jsulm
                Switched to a different computer, uninstalled the previously installed Qt 5.8, and then installed Qt 6.8.3. However, I still failed when creating a template, and the problem is the same as before. I can't find a solution online. I really don't know what to do.

                J 1 Reply Last reply 8 days ago
                0
                • L ljxiango
                  10 days ago

                  @jsulm
                  Switched to a different computer, uninstalled the previously installed Qt 5.8, and then installed Qt 6.8.3. However, I still failed when creating a template, and the problem is the same as before. I can't find a solution online. I really don't know what to do.

                  J Online
                  J Online
                  jsulm
                  Lifetime Qt Champion
                  wrote 8 days ago last edited by
                  #8

                  @ljxiango Did you try to disable anti-virus software?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  L 1 Reply Last reply 3 days ago
                  0
                  • J jsulm
                    8 days ago

                    @ljxiango Did you try to disable anti-virus software?

                    L Offline
                    L Offline
                    ljxiango
                    wrote 3 days ago last edited by
                    #9

                    @jsulm
                    I disabled the antivirus software on both computers, but there's still the same problem.

                    1 Reply Last reply
                    0

                    2/9

                    15 Apr 2025, 09:02

                    7 unread
                    • Login

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