Android ndk build failed

538 Views Asked by At

Though my current ndk version is greater than r10e , but it is saying

build on Linux x86_64
ANDROID_NDK=/root/Android/Sdk/ndk-bundle/
IJK_NDK_REL=15.1.4119039
You need the NDKr10e or later

EDIT

I am trying to build ijkplayer , I am just following the build instruction when I tried to execute the ./compile-ffmpeg.sh all I got this error.

1

There are 1 best solutions below

0
On

This library has hardcoded dependency on NDK release; the latest commit for android/contrib/tools/do-detect-env.sh adds detection of NDK r.14. You have the latest r.15c installed. I would recommend to download r.14 from https://developer.android.com/ndk/downloads/older_releases.html instead of tuning the build scripts: the new release has some breaking changes. They come with significant enhancements, but you will not gain much for a project that has already been tested on r.14.