Skip to content

Commit 837c2e7

Browse files
committed
Changed AndroidManifest.tmpl.xml to use the correct target SDK
1 parent 0167c2f commit 837c2e7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pythonforandroid/bootstraps/sdl2_gradle/build/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ def make_package(args):
356356
args=args,
357357
service=service,
358358
service_names=service_names,
359+
android_api=android_api,
359360
url_scheme=url_scheme)
360361

361362
# Copy the AndroidManifest.xml to the dist root dir so that ant

pythonforandroid/bootstraps/sdl2_gradle/build/templates/AndroidManifest.tmpl.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/>
2020

2121
<!-- Android 2.3.3 -->
22-
<uses-sdk android:minSdkVersion="{{ args.min_sdk_version }}" android:targetSdkVersion="{{ args.sdk_version }}" />
22+
<uses-sdk android:minSdkVersion="{{ args.min_sdk_version }}" android:targetSdkVersion="{{ android_api }}" />
2323

2424
<!-- OpenGL ES 2.0 -->
2525
<uses-feature android:glEsVersion="0x00020000" />

0 commit comments

Comments
 (0)