Skip to content

Commit 05e9366

Browse files
committed
Add min and target SDK versions to apk
1 parent 756292f commit 05e9366

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

android/AndroidManifest.xml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
<application
99
android:allowBackup="false"
10+
android:debuggable="true"
1011
android:fullBackupContent="false"
1112
android:icon="@drawable/ic_launcher"
1213
android:label="@string/app_name"

android/main.c

-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ int main(void) {
4848

4949
ALOGD("Initializing with eepersinit()");
5050
eepersinit();
51-
52-
5351
ALOGD("Entering Eepers main: _ada_eepers");
5452
_ada_eepers();
5553
ALOGD("Deinitializing with eepersfinal()");

build-android.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ done
7070
# Build APK
7171
# ______________________________________________________________________________
7272
#
73-
$BUILD_TOOLS/aapt package -f -m \
73+
$BUILD_TOOLS/aapt package -f -m --min-sdk-version 29 --target-sdk-version $API \
7474
-S android/res -J android/build -M android/AndroidManifest.xml \
7575
-I $ANDROID_HOME/Sdk/platforms/android-$API/android.jar
7676

7777
# Add resources and assets to APK
78-
$BUILD_TOOLS/aapt package -f \
78+
$BUILD_TOOLS/aapt package -f --min-sdk-version 29 --target-sdk-version $API \
7979
-M android/AndroidManifest.xml -S android/res -A assets \
8080
-I $ANDROID_HOME/Sdk/platforms/android-$API/android.jar -F eepers.apk
8181

0 commit comments

Comments
 (0)