[Interest] Android manifest min sdk with 5.15.1

maitai maitai at virtual-winds.org
Wed Oct 21 08:30:15 CEST 2020


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 at qt-project.org
> https://lists.qt-project.org/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201021/23192bb2/attachment.html>


More information about the Interest mailing list