Android app doesn't run
-
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?
-
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 -
@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.
-
-
@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 -
@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.
-
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. -
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.