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. Android app doesn't run
Forum Updated to NodeBB v4.3 + New Features

Android app doesn't run

Scheduled Pinned Locked Moved Solved Mobile and Embedded
87 Posts 7 Posters 21.4k Views 3 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #81

    OK, but...given that this file is built for me, clearly I don't want to just make changes to it. Where are the settings that populate the contents of this file when it's built? Is there something wrong with my Preferences -> Devices -> Android settings?

    1 Reply Last reply
    0
    • ekkescornerE Offline
      ekkescornerE Offline
      ekkescorner
      Qt Champions 2016
      wrote on last edited by
      #82

      don't know what's wrong
      seems you have built with android-35
      dont know if this works with 6.5
      have no experiences with 6.5 - started my Qt 6 development with 6.6
      you can try to change this to 33, what's supported by 6.5

      ekke ... Qt Champion 2016 | 2024 ... mobile business apps
      5.15 --> 6.8 https://t1p.de/ekkeChecklist
      QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

      1 Reply Last reply
      1
      • mzimmersM Offline
        mzimmersM Offline
        mzimmers
        wrote on last edited by
        #83

        @ekkescorner I changed to 33; no success. I then deleted all my Qt project cache and rebuilt. It now works...sort of. I'm going to have a bunch more questions, but it's time to close out this thread and start a new one. Thank you for all the help.

        ekkescornerE 1 Reply Last reply
        0
        • mzimmersM mzimmers has marked this topic as solved on
        • mzimmersM mzimmers

          @ekkescorner I changed to 33; no success. I then deleted all my Qt project cache and rebuilt. It now works...sort of. I'm going to have a bunch more questions, but it's time to close out this thread and start a new one. Thank you for all the help.

          ekkescornerE Offline
          ekkescornerE Offline
          ekkescorner
          Qt Champions 2016
          wrote on last edited by
          #84

          @mzimmers said in Android app doesn't run:

          I then deleted all my Qt project cache and rebuilt. It now works

          this is always the first thing if something wrong with build or if templates created or QtC changed: delete the build dir physically - not only build-clean in QtC
          sorry - forgot to ask you about ;-)
          good that it's working

          ekke ... Qt Champion 2016 | 2024 ... mobile business apps
          5.15 --> 6.8 https://t1p.de/ekkeChecklist
          QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

          mzimmersM 1 Reply Last reply
          0
          • ekkescornerE ekkescorner

            @mzimmers said in Android app doesn't run:

            I then deleted all my Qt project cache and rebuilt. It now works

            this is always the first thing if something wrong with build or if templates created or QtC changed: delete the build dir physically - not only build-clean in QtC
            sorry - forgot to ask you about ;-)
            good that it's working

            mzimmersM Offline
            mzimmersM Offline
            mzimmers
            wrote on last edited by
            #85

            @ekkescorner just to be clear, for me it was not sufficient to delete the build directory. I had to go into home\AppData\Roaming\QtProject and delete all the files in there.

            1 Reply Last reply
            0
            • ekkescornerE Offline
              ekkescornerE Offline
              ekkescorner
              Qt Champions 2016
              wrote on last edited by
              #86

              this is the folder where QtC stores Settings on windows ?
              I never use the default settings location for QtC to avoid problems if different QtC versions are installed. I always start QtC with a specific settings folder for each installation.

              ekke ... Qt Champion 2016 | 2024 ... mobile business apps
              5.15 --> 6.8 https://t1p.de/ekkeChecklist
              QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

              1 Reply Last reply
              0
              • KenAppleby 0K Offline
                KenAppleby 0K Offline
                KenAppleby 0
                wrote on last edited by KenAppleby 0
                #87

                I have just discovered that you can trigger this problem simply by unchecking:

                Edit -> Preferences ... -> Build & Run -> "Always deploy project before running it"

                then making changes and rebuilding the project.

                Turning this option back on solves the problem - without having to use the sledgehammer of removing the AppData/Roaming/QtProject folder!

                It makes sense, I suppose, though I believe this was not the case in earlier versions of Qt. I am using QtCreator 14.0.1 on Qt6.7.2.

                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