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. Environment Setup issues
Qt 6.11 is out! See what's new in the release blog

Environment Setup issues

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 3 Posters 1.5k 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.
  • K Offline
    K Offline
    kgregory
    wrote on last edited by
    #1

    I'm trying to learn to develop an Android app. I installed Qt 5.8 on my windows machine along with Android studio, Android SDK, Android NDK, and JDK. I created a Qt Quick 2 application and the first thing I did was try to run it on the virtual Nexus_5X that I created. I get the following error message. What does this mean and how do I fix it?

    Cannot find template directory C:/Android/AndroidSDK/tools/templates/gradle/wrapper
    00:19:41: The process "C:\Qt\5.8\android_x86\bin\androiddeployqt.exe" exited with code 3.
    
    A 1 Reply Last reply
    0
    • K kgregory

      I'm trying to learn to develop an Android app. I installed Qt 5.8 on my windows machine along with Android studio, Android SDK, Android NDK, and JDK. I created a Qt Quick 2 application and the first thing I did was try to run it on the virtual Nexus_5X that I created. I get the following error message. What does this mean and how do I fix it?

      Cannot find template directory C:/Android/AndroidSDK/tools/templates/gradle/wrapper
      00:19:41: The process "C:\Qt\5.8\android_x86\bin\androiddeployqt.exe" exited with code 3.
      
      A Offline
      A Offline
      ambershark
      wrote on last edited by
      #2

      @kgregory Does that directory exist? If so do you have permissions to it? What is in it?

      My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kgregory
        wrote on last edited by
        #3

        C:/Android/AndroidSDK/tools/templates does not exist.

        I'm assuming I didn't install something correctly or I installed the wrong thing. Or maybe I linked one of the tools to the wrong folder. Perhaps I missed a guide explaining how to set up my environment?

        A 1 Reply Last reply
        0
        • K kgregory

          C:/Android/AndroidSDK/tools/templates does not exist.

          I'm assuming I didn't install something correctly or I installed the wrong thing. Or maybe I linked one of the tools to the wrong folder. Perhaps I missed a guide explaining how to set up my environment?

          A Offline
          A Offline
          ambershark
          wrote on last edited by
          #4

          @kgregory Ok so where did you install your AndroidSDK to when you installed it? Does it have a templates directory?

          My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

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

            Hi and welcome to devnet,

            This is a known issue, please take a look at this Wiki article for workarounds.

            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
            2

            • Login

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