Skip to content

Commit

Permalink
Fix andorid docker image.
Browse files Browse the repository at this point in the history
  • Loading branch information
ekharkunov committed Jun 24, 2024
1 parent 55e557a commit 58e0e62
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions server/docker/Dockerfile.android.ndk25-env
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ ENV ANDROID_SDK_FILENAME_33 android-sdk-linux-android-${ANDROID_SDK_VERSION_33}-
ENV ANDROID_SDK_BUILD_TOOLS_PATH_33 ${ANDROID_HOME}/build-tools/${ANDROID_BUILD_TOOLS_VERSION_33}
ENV ANDROID_LIBRARYJAR_33 ${ANDROID_HOME}/platforms/android-${ANDROID_SDK_VERSION_33}/android.jar

# We specify it in build_input.yml by setting it the first in PATH for new SDK
# But at least one SDK should be specified by default in Dockerfile
ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:${ANDROID_SDK_BUILD_TOOLS_PATH_33}
# ANDROID_SDK_VERSION used in Java code, default should be specified in Dockerfile as well:
ENV ANDROID_SDK_VERSION ${ANDROID_SDK_VERSION_34}

#
# SDK 34 (Defold 1.9.0):
#
Expand All @@ -39,6 +33,12 @@ ENV ANDROID_SDK_FILENAME_34 android-sdk-linux-android-${ANDROID_SDK_VERSION_34}-
ENV ANDROID_SDK_BUILD_TOOLS_PATH_34 ${ANDROID_HOME}/build-tools/${ANDROID_BUILD_TOOLS_VERSION_34}
ENV ANDROID_LIBRARYJAR_34 ${ANDROID_HOME}/platforms/android-${ANDROID_SDK_VERSION_34}/android.jar

# We specify it in build_input.yml by setting it the first in PATH for new SDK
# But at least one SDK should be specified by default in Dockerfile
ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:${ANDROID_SDK_BUILD_TOOLS_PATH_33}
# ANDROID_SDK_VERSION used in Java code, default should be specified in Dockerfile as well:
ENV ANDROID_SDK_VERSION ${ANDROID_SDK_VERSION_34}

#
# NDK25b (Defold 1.4.3):
#
Expand Down

0 comments on commit 58e0e62

Please sign in to comment.