源码下载
git clone github.com/bilibili/ij…
切换分支
git checkout -B latest k0.8.8
编译配置
cd config
rm module.sh
ln -s module-lite.sh module.sh
cd android/contrib
openssl 环境
./init-android-openssl.sh
android 环境
./init-android.sh
去除恶意软件检测
sudo spctl --master-disable
设置ndk 路径
export ANDROID_NDK=/Users/dev/Documents/Android_Env/Sdk/ndk/android-ndk-r14b
TMD 设置代理
export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890
初始化 android 编译环境
./init-android.sh
初始化 openssl 环境
./init-android-openssl.sh
走进 android 目录
cd android/contrib
clean openssl
./compile-openssl.sh clean
编译 openssl
./compile-openssl.sh all
clean ffmpeg
./compile-ffmpeg.sh clean
编译 ffmpeg
./compile-ffmpeg.sh all
编译 ijkplayer
./compile-ijk.sh all