# install homebrew, git, yasm
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
brew install yasm
# add these lines to your ~/.bash_profile or ~/.profile
# export ANDROID_SDK=<your sdk path>
# export ANDROID_NDK=<your ndk path>
# on Cygwin (unmaintained)
# install git, make, yasm
git clone https://github.com/ShikinChen/ijkplayer-android --recursive
git clone https://github.com/ShikinChen/ijkplayer-android
cd ijkplayer-android
#编译ffmpeg一定要使用ndk r25
export ANDROID_NDK=NDK r25的路径
cd android/contrib
./compile-ffmpeg.sh arm64
#执行完compile-ffmpeg.sh arm64 编译完ffmpeg的arm64动态库后 直接将 ./android/ijkplayer 导入整个项目