This extension actually contains only prebuilt static libraries without any code.
Follow these instructions to build this extension.
- Install JDK 7 or higher
- Install Android SDK, define
ANDROID_HOME
environment variable or setsdk.dir
inlocal.properties
- Install Android NDK, define
ANDROID_NDK_HOME
environment variable or setndk.dir
inlocal.properties
- Install Gradle
- Build FFmpeg shared libraries and copy them to
jni/src/ffmpeg/shared
- Build LibYuv shared libraries and copy them to
jni/src/yuv/shared
- Run
gradle assembleRelease
The resulting APK file will appear in build/outputs/apk
directory.
You can create keystore.properties
in the source code directory with the following properties:
store.file=%PATH_TO_KEYSTORE_FILE%
store.password=%KEYSTORE_PASSWORD%
key.alias=%KEY_ALIAS%
key.password=%KEY_PASSWORD%
- Install Android NDK, define
ANDROID_NDK_HOME
environment variable - Run
./shared.sh
The resulting shared libraries and *.h
files will appear in output
directory.