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
QtWS25 Last Chance

Qt6.8 for Android,Unable to create the template

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
9 Posts 2 Posters 191 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 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

    jsulmJ 1 Reply Last reply
    0
    • L ljxiango

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote 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
      0
      • jsulmJ jsulm

        @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 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?!

        jsulmJ 1 Reply Last reply
        0
        • L ljxiango

          @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?!

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote 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
          0
          • jsulmJ jsulm

            @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 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

            jsulmJ 1 Reply Last reply
            0
            • L ljxiango

              @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

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote 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
              0
              • jsulmJ jsulm

                @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 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.

                jsulmJ 1 Reply Last reply
                0
                • L ljxiango

                  @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.

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote 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
                  0
                  • jsulmJ jsulm

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

                    L Offline
                    L Offline
                    ljxiango
                    wrote 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

                    • Login

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