Skip to content

Compile Opus for Android

antonypro edited this page May 4, 2019 · 1 revision

Compile Opus for Android:

Requirements:

  • Android NDK (the same version used in Qt Creator to prevent incompatibility errors).
  • Opus source code.

To compile Opus for Android you need to prepare the folders and files in a specific structure:

├── Parent directory
    └── jni (Mandatory folder name)
        ├── Android.mk
        ├── Application.mk
        └── opus (Mandatory folder name)
            ├── Android.mk
            └── * (Opus source files here, not in sub-folder!)

Then in console do:

cd ../path_to/jni
../path_to/ndk-build -j4 or -j(Number of logical processors).
Clone this wiki locally