1.Download
下载ndk:
https://developer.android.google.cn/ndk/downloads/
下载ffmpeg:
http://ffmpeg.org/download.html#releases
2.Config
./configure
1 | ############# |
add build_android.sh
chmod +x build_android.sh
打开并编辑build_android.sh:
1 | #!/bin/bash |
./build_android.sh