Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
Qt Creator 4.11.1
-
Ubuntu 19.10, Qt 5.14.1, latest Android Sdk & tooling
Description
To even start building an Android APK, QtCreator requires minSdkVersion to be defined in AndroidManifest.xml. However, minimum and target sdk versions are nowadays supposed to be defined in build.grade file and the latest Android tooling throws and exception if minSdkVersion is found in AndroidManifest.xml:
– clip –
Caused by: com.android.builder.errors.EvalIssueException: Failed to parse XML in 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.
– clop –
Attachments
Issue Links
- relates to
-
QTBUG-70817 Move minSdkVersion from AndroidManifest to build.gradle
- Closed