Build crashed on Qt 5.13 Android arm64-v8a only. Why?
-
Hello!
Just updated on Qt 5.13 and got next issue - it's crashing at time of build only on Android arm64-v8a (any other platforms building OK) and providing me with this error message:FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':processDebugResources'. > Android resource linking failed Output: /Users/alexandr/android_arm64-v8a/android-build/build/intermediates/merged_manifests/debug/processDebugManifest/merged/AndroidManifest.xml:39: error: 'orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density' is incompatible with attribute configChanges (attr) flags [locale=4, fontScale=1073741824, keyboard=16, keyboardHidden=32, layoutDirection=8192, mcc=1, mnc=2, navigation=64, orientation=128, screenLayout=256, screenSize=1024, smallestScreenSize=2048, touchscreen=8, uiMode=512]. error: failed processing manifest.
Why it's might be and how to fix it?
-
This trouble appearing sometimes for android-21 SDK building.
When I restart Qt Creator and start building on android-29 and after it rebuild on android-21 - everything is OK. And there are always the same error in processing AndroidManifest.xml. Sometimes it makes me crazy ... and looking like bug in Qt Creator and it's appearing only on Qt 5.13. Awaiting 5.13.1 ...
The short sequence of solving looks like:
- Clear All
- Run qmake
- Switch on Android-29 and only build (the hummer icon)
- Switch on Android-21 and only build (the hummer icon)
- Run and deploy it on device (green triangle icon)
[Updated]
The same trouble appeared on Qt 5.12.4 if you setting up project from scratch and defining Android 21 API from begin. If you build at first on Android 29, and then rebuild it over on Android 21 - everything OK.