Open yangyun0123456 opened 10 months ago
It works for me.
ruki-2:Downloads ruki$ xrepo install -p android --ndk=~/files/android-ndk-r20b/ ffmpeg
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
-> ffmpeg 6.1
please input: y (y/n/m)
=> install ffmpeg 6.1 .. ok
you ndk version is old. New version ndk use llvm-ar llvm-ranlib.
Xmake 版本
v2.8.6
操作系统版本和架构
ubuntu
描述问题
ffmpeg android compile failed : ndk toolchains need update to llvm.
期待的结果
ffmpeg android compile pass
工程配置
xrepo install -p android --ndk=~/Android/Sdk/ndk/25.1.8937393 ffmpeg
附加信息和错误日志
Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar: not found