Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
6.4.0
-
None
-
-
2022wk42FOQtforAndroid
Description
Configure with
/usr/lib/qt-android-6.4-arm64- v8a/bin/qt-cmake -DQT_HOST_PATH=/usr/lib/qt-android-6.4-host/ -DANDROID_SDK_ROOT=/opt/android-sdk/ -DANDROID_NDK_ROOT =/opt/android-sdk/ndk/android-ndk-r23c ../../qtdoc/examples/demos/hangman/
Result:
Build-tool 33.0.0 is missing DX at /opt/android-sdk/build-tools/33.0.0/dx FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':compileDebugJavaWithJavac'. > Installed Build Tools revision 33.0.0 is corrupted. Remove and install again using the SDK Manager. * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org
There is no problem with the other examples like androidnotifier of qtbase, so the problem may not be the Build Tools revision 33.0.0
Same problem with build tools 31.0.0 & 32.0.0
Last build tools that works: 30.0.3
dx is not shipped anymore in the build tools since 31.0.0
A suggested patch is attached
Attachments
Issue Links
- is required for
-
QTBUG-105510 Qt 6.5.0: Update gradle
- Closed
- relates to
-
QTBUG-107849 Qt 6.4.0 Purchasing Hangman example does not start
- Closed
- mentioned in
-
Page Loading...
For Gerrit Dashboard: QTBUG-107121 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
439270,3 | Docs: Update Hangman example AGP to 7.2.1 | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
439403,2 | Docs: Update Hangman example AGP to 7.2.1 | 6.4 | qt/qtdoc | Status: MERGED | +2 | 0 |
439407,2 | Docs: Update Hangman example AGP to 7.2.1 | tqtc/lts-6.2 | qt/tqtc-qtdoc | Status: MERGED | +2 | 0 |