Hi,
Min SDK and Target SDK are now variables that you should set in the pro
file, for instance
ANDROID_MIN_SDK_VERSION = 21
ANDROID_TARGET_SDK_VERSION = 29
See here: https://doc.qt.io/qt-5/qmake-variable-reference.html
-- Philippe
Le 20-10-2020 22:58, Jérôme Godbout a écrit :
Hi,
I run into trouble when I try to sign my package application with
5.15.1 (without signing it build correctly and run just fine):
Caused by: com.android.builder.errors.EvalIssueException: Failed to
parse XML in
D:\Code\build\MyApp-Android_Qt_5_15_1_Clang_Multi_Abi-Release\android-build\AndroidManifest.xml
The minSdk version should not be declared in the android manifest file.
You can move the version from the manifest to the defaultConfig in the
build.gradle file
Anybody known why and how we can change this with Qt build?! I can
easily remove it from the manifest, but the gradle file are auto
generated by the Qt application no, I never add any to my project at
least. Or there is something that have changed with the Android setup?
How does one provide the build.gradle file to Qt exactly?
Thanks,
Jerome
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest