Host system 'linux-x86' is not supported by the source NDK

在Linux上编译ijkplayer的时候,
到./compile-ffmpeg.sh all这一步的时候,
出现了如题的错误,有人遇到过这个情况吗
图片描述

阅读 4.6k
1 个回答

在do-compile-ffmpeg.sh 中 make-standalone-toolchain.sh 在配置工具链时 添加:
--system=windows-x86_64 即可以。 我的是windows.

Host toolchain Value
64-bit Linux -system=linux-x86_64
64-bit MacOSX -system=darwin-x86_64
64-bit Windows -system=windows-x86_64

自己选一下。

$ANDROID_NDK/build/tools/make-standalone-toolchain.sh \

    $FF_MAKE_TOOLCHAIN_FLAGS \
    --platform=$FF_ANDROID_PLATFORM \
    --toolchain=$FF_TOOLCHAIN_NAME \
    --system=windows-x86_64
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题