Qt is very sensitive to the environment, and releases often contain bugs.
The main conditions for successful assembly and debugging in my case:
Android build-tool version: should be the latest, i.e. the maximum with which the build is successful. If the build is not successful, then the version should be downgraded.
Android build platform SDK: should be the latest, i.e. the maximum, with which the build is successful. If the build is not successful, then you should downgrade the version (https://doc.qt.io/qt-6/android.html + select your Qt release on the page). By the way, on 04/02/2025, the application using API 35 is not built and you should select the previous API version (34).
Android NDK must be exactly the one specified in the documentation for the Qt version used (https://doc.qt.io/qt-6/android.html + select your Qt release on the page).
For example, for version Qt 6.8.3 and Qt creator version 16.0.0, successful building and debugging were provided by the following set of components:
-build-tool version: 35.0.1
-build platform SDK: 34 or 33
-android NDK: 26.1.10909125
Снимок.PNG
Снимок1.PNG