android icon indicating copy to clipboard operation
android copied to clipboard

Cannot build JNI ffmpeg

Open timonvlad opened this issue 4 years ago • 1 comments

General Information

  • MEGA Version: appVersion = "4.1.2" versionCode = 372

  • OS Version(s): 18.04.1-Ubuntu

  • Devices/Simulators:

  • Reproducible? (Yes/No): yes

What happened?

I have set all links to sdk, java_home, ndk_home..... Build process go well before building Exoplayer... I have such error and can't understand why cmake version 3.18.1-g262b901 is invalid...

~/android/app/src/main/jni/ExoPlayer/ExoPlayer-r2.12.1 ~/android/app/src/main/jni

Task :extension-ffmpeg:preBuild UP-TO-DATE Task :extension-ffmpeg:preReleaseBuild UP-TO-DATE Task :library-common:preBuild UP-TO-DATE Task :library-common:preReleaseBuild UP-TO-DATE Task :library-common:compileReleaseAidl NO-SOURCE Task :library-core:preBuild UP-TO-DATE Task :library-core:preReleaseBuild UP-TO-DATE Task :library-extractor:preBuild UP-TO-DATE Task :library-extractor:preReleaseBuild UP-TO-DATE Task :library-extractor:compileReleaseAidl NO-SOURCE Task :library-core:compileReleaseAidl NO-SOURCE Task :extension-ffmpeg:compileReleaseAidl NO-SOURCE Task :extension-ffmpeg:generateJsonModelRelease FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':extension-ffmpeg:generateJsonModelRelease'.

Invalid revision: 3.18.1-g262b901

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1s 1 actionable task: 1 executed

What did you expect to happen?

want to get build

timonvlad avatar May 24 '21 14:05 timonvlad

Hi @timonvlad, in my case I am using cmake version 3.16.3 and it works without any issue. Please try using that cmake version.

javiergm1983 avatar May 28 '21 07:05 javiergm1983