Setup
Check our AndroidCompile wiki page, especially for build dependencies.
Here are the essential points:
On Debian/Ubuntu, install the required dependencies:
sudo apt install automake ant autopoint cmake build-essential libtool-bin \
patch pkg-config protobuf-compiler ragel subversion unzip git \
openjdk-8-jre openjdk-8-jdk flex python wget
Setup the build environment: Set $ANDROID_SDK
to point to your Android SDK directory export ANDROID_SDK=/path/to/android-sdk
Set $ANDROID_NDK
to point to your Android NDK directory export ANDROID_NDK=/path/to/android-ndk
Then, you are ready to build!
Build
buildsystem/compile.sh -l -a <ABI>
ABI can be arm
, arm64
, x86
, x86_64
or all
for a multi-abis build
You can do a library release build with -r
argument
Medialibrary
Build Medialibrary with -ml
instead of -l
Contribute
VLC is a libre and open source project, we welcome all contributions.
Just respect our Code of Conduct.