The version of Os-x used is 10.10.5
Reference Document https://wiki.videolan.org/AndroidCompile/
Os-x no Apt-get command, use Homebrew alternative to enter terminal input: Ruby-e "$ (Curl-fssl https://raw.githubusercontent.com/Homebrew/install/ Master/install) "--------------------------------------------------------------------==> this script would Install:/usr/local/bin/brew/usr/local/library/.../usr/local/share/man/man1/brew.1press RETURN to continue or any Other keys to abort==>/usr/bin/sudo/bin/mkdir/usr/localpassword:==>/usr/bin/sudo/bin/chmod g+rwx/usr/local==& Gt /usr/bin/sudo/usr/sbin/chown miles:admin/usr/local==>/usr/bin/sudo/bin/mkdir/library/caches/homebrew==>/ Usr/bin/sudo/bin/chmod g+rwx/library/caches/homebrew==>/usr/bin/sudo/usr/sbin/chown miles/library/caches/ homebrew==> Downloading and installing homebrew...remote:counting objects:3817, done.remote:Compressing objects:10 0% (3660/3660), Done.remote:Total 3817 (Delta), reused 625 (delta), pack-reused 0Receiving objects:100% (3817/3817 ), 3.29 MiB | 87.00 kib/s, done. Resolving deltas:100% (39/39), done. FromHttps://github.com/Homebrew/homebrew * [New branch] Master, Origin/masterhead is now at 561d03c URLVIEW:UPD ATE 0.9 bottle.==> installation successful!==> Next stepsrun ' brew help ' to get started---------------------------- After the----------------------------------------installation is successful example Usage:brew [info | home | options] [FORMULA ...] Brew Install FORMULA ... brew uninstall FORMULA ... brew search [foo] brew list [FORMULA ...] Brew Update Brew upgrade [FORMULA ...] Brew Pin/unpin [FORMULA ...] Troubleshooting:brew Doctor Brew INSTALL-VD FORMULA Brew [--env | config]brewing:brew create [URL [--no-fetch]] Br EW edit [FORMULA ...] Https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Formula-Cookbook.mdFurther Help:man Brew Brew Home--------------------------------------------------------------------
Download protobuf-2.6.1.tar.gz unzip into the directory CD protobuf-2.6.1 execute./configure--prefix=/users/miles/library/android/ Protobuf perform make execute make install
Enter the Vlc-ports-android-xxx directory to execute the compile.sh command, the following issues occur
--------------------------------------------------------------------------------* * * No Android_abi defined Architecture:using armv7downloading gradle% total% Received% xferd Average speed time time Dload Upload Total spent left Speed100 352 0 352 0 0 326 0 --:--:--0:00:01--:--:--326archive:gradle-2.6-all.zip end-of-central-directory signature not found. Either this file was not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case, the Central directory and ZipFile comment'll be found on the last disk (s) of this archive.unzip:c Annot find ZipFile directory in one of Gradle-2.6-all.zip or gradle-2.6-all.zip.zip, and cannot find Gradle-2.6-all . zip. ZIP, period. --------------------------------------------------------Modify compile.sh line Bayi:wget ${gradle_url} 2>/dev/null | | Curl-o ${gradle_url}//original wget ${gradle_url} 2>/dev/null | | Curl-o- L${gradle_url}//New--------------------------------------------------------------------------------
Wait for the source download to complete, then compile
OS X-ANDROID-VLC Compilation process