• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
热爱我的热爱
博客园    首页    新随笔    联系   管理    订阅  订阅

编译vlc for android

文档:

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。

posted @ 2012-07-27 14:06  soniclq  阅读(985)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3