当前位置: 首页 > 工具软件 > vlc-android > 使用案例 >

vlc android sdk,vlc-android编译流程

湛嘉歆
2023-12-01

操作系统: ubuntu10.10

ndk: android-ndk-r5b

android-sdk: 2.2

编译流程:

1.   cd ~ | mkdir code

cd ~/code

2.   git clone git://git.videolan.org/vlc/vlc-android.git

3.   cd vlc-android/extras/contrib/

4.   export ANDROID_NDK=/usr/local/android-ndk-r5b

5.    ./bootstrap -t arm-eabi -d android

6.   安装以下工具:

sudo apt-get install wget

sudo apt-get install autoconf

sudo apt-get install libtool

sudo apt-get install subversion

7.   make

8.   cd ~/code/vlc-android

9.   ./bootstrap

10. mkdir builddir

11. cd builddir

12. ../extras/package/android/configure.sh

13. ./compile -k

14. cd ~/code/vlc-android/extras/package/android

15. export ANDROID_SDK=/usr/local/android-sdk

16. VLC_BUILD_DIR=~/code/vlc-android/builddir VLC_CONTRIB=~/code/vlc-android/extras/contrib/build make

17.用Eclipse导入~/code/vlc-android/extras/package/android/vlc-android

 类似资料: