fix(安卓编译): 降级ndk

This commit is contained in:
2020-12-26 10:56:48 +08:00
parent aa5d525ded
commit e94bf990af
2 changed files with 5 additions and 5 deletions

View File

@ -10,9 +10,9 @@ RUN apt-get update \
build-essential mingw-w64 upx-ucl
# 安装android ndk
COPY android-ndk-r22 /usr/local/android-ndk-r22
COPY android-ndk-r21d /usr/local/android-ndk-r21d
# 环境变量
ENV PATH=$PATH:/usr/local/android-ndk-r22/toolchains/llvm/prebuilt/linux-x86_64/bin
ENV PATH=$PATH:/usr/local/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin
ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.aite.xyz,direct