您的位置:首页 > 移动开发 > Android开发

编译vlc for android

2012-07-27 14:06 465 查看
文档:

http://wiki.videolan.org/AndroidCompile

可参考

http://www.tidroid.com/article_75.html?replytocom=3

期间遇到的问题:

1.

m4/libtool.m4:67: LT_INIT is expanded from…
m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from…
configure.ac:191: the top level
autoreconf: configure.ac: adding subdirectory lib to autoreconf
autoreconf: Entering directory `lib’
autoreconf: running: autopoint –force
Can’t exec “autopoint”: 没有那个文件或目录 at /usr/share/autoconf/Autom4te/FileUtils.pm line 345.
autoreconf: failed to run autopoint: 没有那个文件或目录
autoreconf: autopoint is needed because this package uses Gettext
make: *** [.gnutls] 错误 1


解决办法:

安装 autopoint

sudo apt-get install autopoint

2.

./gen-env.sh vlc-android
/bin/sh: ant: Permission denied

Ant工具在最后编译android源码生成apk文件是会用到,所以需要安装。如果是自己手动安装了ant,请在环境变量中配置好ant的path,或者在运行编译之前在命令行执行export PATH=$PATH:/xxx/ant/bin,保证可以在执行编译的命令行中执行ant命令即可。

3.使用 ActionBarSherlock

vlc 的android项目中需要使用ActionBarSherlock lib . 用法参考http://note.sdo.com/u/jesse_luo/n/sCPcz~jLs7aMLX0h4001xf

或README。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: