Skip to content

Build APK with docker: apk size issue (v3.2.0) #5105

Answered by qsavoye
qsavoye asked this question in Q&A
Discussion options

You must be logged in to vote

@nirvn

I finaly figure out what cause my apk size issue. I was due to the downloaded NDK files in the docker. I don't know why but if i install the NDK with the sdkmanager, the issue disapears.

I put my corrected dockerfile

FROM ubuntu:22.04

ENV ANDROID_NDK_VERSION=25.2.9519653

# Add apt packages

## vcpkg prerequisites
ENV APT_PACKAGES="git curl zip unzip tar"

## Common build prereqs
ENV APT_PACKAGES="$APT_PACKAGES g++ vim pkg-config cmake ninja-build ca-certificates"

ENV APT_PACKAGES="$APT_PACKAGES autoconf nasm bison python2 flex build-essential libtool libtool-bin gettext automake autoconf-archive"

## Python related
ENV APT_PACKAGES="$APT_PACKAGES python3-setuptools python3-pip p…

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by nirvn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5104 on March 19, 2024 15:05.