vlc-android 编译过程遇到的问题


我的编译环境:
Linux虚拟机
NDK r8e

 
编译过程中遇到问题:
1、
rl: (7) couldn't connect to host
make: *** [../../contrib/tarballs/libmpeg2-0.5.1.tar.gz] 错误 7
make: *** 正在删除文件“../../contrib/tarballs/libmpeg2-0.5.1.tar.gz”
解决访问:
 
2、
BUILD FAILED
/home/thinker/android/android/vlc-android/build.xml:91: Cannot find /home/thinker/android/android-sdk-linux/tools/ant/build.xml imported from /home/thinker/android/android/vlc-android/build.xml
 
Total time: 1 second
make: *** [vlc-android/bin/VLC-debug.apk] 错误 1
rm android-libs/libmedia.c android-libs/libutils.c android-libs/libstagefright.c android-libs/libbinder.c
 
问题原因是:
SDK中部分文件属性是root权限。
解决方案:
修改SDK的用户权限,修改为用户组就OK了。
 
终于编译成功了,嘿嘿……
BUILD SUCCESSFUL
Total time: 46 seconds
rm android-libs/libmedia.c android-libs/libutils.c android-libs/libstagefright.c android-libs/libbinder.c
Generating environment script.
This is a script that will export many of the variables used in this
script. It will allow you to compile parts of the build without having
to rebuild the entire build (e.g. recompile only the Java part).
 
To use it, include the script into your shell, like this:
    source env.sh
 
Now, you can use this command to build the Java portion:
    make -e
 
The file will be automatically regenerated by compile.sh, so if you change
your NDK/SDK locations or any build configurations, just re-run this
script (sh compile.sh) and it will automatically update the file.
 
测试网址:
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值