Skip to content

Latest commit

 

History

History
18 lines (17 loc) · 1.09 KB

Compiling.md

File metadata and controls

18 lines (17 loc) · 1.09 KB

Establishing a Build Environment

Installing the Android NDK

The Android NDK is required to build native modules for Android. Consider installing the latest version of cmake. The higher version of cmake the better. As of writing the current version of CMake is 3.18.4 You can download Cmake from the following website: https://cmake.org/download

Download the NDK r19 or newer archive from the following site: Download the Android NDK on developer.android.com To install the Android NDK, simply expand the archive in the folder where you want to install it.

OpenSSL

Google removed openssl from Android 7+. You must build openssl libs by yourself.

Configure the NDK path

Edit the mkall script to configure NDK path. Set the NDK to the directory where the NDK is installed.

Build SRT for Android

Run /bin/bash mkall > build.log script. Libraries will be installed to ./target-architecture/lib.

Export SRT libraries

Run /bin/bash packjni to generate jniLibs archive for Android Studio.