Skip to content

Commit

Permalink
Use Android API level 34
Browse files Browse the repository at this point in the history
  • Loading branch information
anhappdev committed May 18, 2024
1 parent 5838692 commit acf680d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion flutter/android/android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
include flutter/android/android-docker.mk

ANDROID_NDK_VERSION?=25
ANDROID_NDK_API_LEVEL?=33
ANDROID_NDK_API_LEVEL?=34

flutter/android: flutter/android/libs
flutter/android/release: flutter/check-release-env flutter/android flutter/prepare flutter/android/apk flutter/android/appbundle
Expand Down
5 changes: 3 additions & 2 deletions flutter/android/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@ RUN yes | sdkmanager \
"build-tools;30.0.3" \
"platforms;android-29" \
"platforms;android-31" \
"platforms;android-33"
"platforms;android-33" \
"platforms;android-34"
# Install NDK in a separate layer to decrease max layer size.
RUN yes | sdkmanager "ndk;25.2.9519653"
ENV ANDROID_NDK_ROOT=$ANDROID_SDK_ROOT/ndk/25.2.9519653
ENV ANDROID_NDK_HOME=$ANDROID_NDK_ROOT
ENV ANDROID_NDK_VERSION=25
ENV ANDROID_NDK_API_LEVEL=33
ENV ANDROID_NDK_API_LEVEL=34
ENV HOME=/image-workdir
WORKDIR $HOME

Expand Down
2 changes: 1 addition & 1 deletion mobile_back_apple/dev-utils/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ REPO_ROOT_DIR="/Users/anh/dev/mlcommons/mobile_app_open"
#REPO_ROOT_DIR="/Users/freedom/work/mobile_app_open"

export ANDROID_NDK_VERSION=25
export ANDROID_NDK_API_LEVEL=33
export ANDROID_NDK_API_LEVEL=34

tflite: tflite-build tflite-run-ic-v2 tflite-run-ic-offline-v2
coreml: coreml-build coreml-run-ic-v2 coreml-run-ic-offline-v2
Expand Down

0 comments on commit acf680d

Please sign in to comment.