This repository contains the Gradle configuration for building LibVLC as an AAR package.
You will need JDK 1.7+ installed.
Instructions below are for OS X and Homebrew.
- Install Android SDK and NDK.
$ brew install android-sdk
$ brew install android-ndk
- Set the environment.
$ export BREW_HOME="$(brew --prefix)"
$ export ANDROID_SDK="${BREW_HOME}/opt/android-sdk"
$ export ANDROID_NDK="${BREW_HOME}/opt/android-ndk"
$ export ANDROID_ABI="armeabi-v7a"
- Build the SDK.
$ ./gradlew buildSdk
$ ./gradlew assembleRelease
- Deploy to Maven Local.
$ ./gradlew uploadArchives
The dependendency is
compile "org.videolan:libvlc:1.5.1"
- Android Compile — official documentation.
- Android Port — official source code.