centos 编译 vlc-android,centosvlc-android
分享于 点击 21648 次 点评:169
centos 编译 vlc-android,centosvlc-android
参考官方指导:
https://wiki.videolan.org/AndroidCompile
1. 安装 java: yum install java7
[root@hbvm ~]# java -version
java version "1.7.0_91"
OpenJDK Runtime Environment (rhel-2.6.2.2.el6_7-x86_64 u91-b00)
OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode)
Android 5.0开始,不再使用 Sun Jdk,而是要 OpenJdk,以下是 Android 的最新要求:
http://source.android.com/source/initializing.html
Installing the JDK
The master
branch of Android in the
Android Open Source Project (AOSP) requires Java 7. On Ubuntu, use
OpenJDK.
Java 7: For the latest version of Android
$ sudo apt-get update
$ sudo apt-get install openjdk-7-jdk
Optionally, update the default Java version by running:
$ sudo update-alternatives --config java
$ sudo update-alternatives --config javac
2. 安装其他内容
yum install git gnupg flex bison gperf
相关文章
- 暂无相关文章
用户点评