Add default minSdkVersion and targetSdkVersion in the AndroidManifest.xml file

This commit is contained in:
Fredia Huya-Kouadio 2021-11-03 21:49:22 -07:00
parent 7afb784269
commit 724ef83971
2 changed files with 5 additions and 2 deletions

View file

@ -1,8 +1,8 @@
ext.versions = [
androidGradlePlugin: '7.0.3',
compileSdk : 30,
minSdk : 19,
targetSdk : 30,
minSdk : 19, // Also update 'platform/android/java/lib/AndroidManifest.xml#minSdkVersion' value
targetSdk : 30, // Also update 'platform/android/java/lib/AndroidManifest.xml#targetSdkVersion' value
buildTools : '30.0.3',
kotlinVersion : '1.5.10',
fragmentVersion : '1.3.6',

View file

@ -4,6 +4,9 @@
android:versionCode="1"
android:versionName="1.0">
<!-- Should match the mindSdk and targetSdk values in platform/android/java/app/config.gradle -->
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="30" />
<application>
<!-- Records the version of the Godot library -->