BUILD FAILED
/home/swtf/android/vlc-android/build.xml:91: Cannot find /home/swtf/android-studio/sdk/tools/ant/build.xml imported from /home/swtf/android/vlc-android/build.xml
Total time: 3 seconds
make: *** [vlc-android/bin/VLC-release-unsigned.apk] 错误 1
/home/swtf/android/vlc-android/build.xml:91: Cannot find /home/swtf/android-studio/sdk/tools/ant/build.xml imported from /home/swtf/android/vlc-android/build.xml
Total time: 3 seconds
make: *** [vlc-android/bin/VLC-release-unsigned.apk] 错误 1
rm android-libs/libbinder.c android-libs/libui.c android-libs/libutils.c android-libs/libstagefright.c android-libs/libmedia.c android-libs/libcutils.c android-libs/libhardware.c
遇到这个问题是因为修改了/etc/profile中的sdk路径,运行source /etc/profile就ok
遇到找不到speex_resampler.h这个文件时,在这里/home/swtf/vlc/android/vlc/contrib/arm-linux-androideabi/include/speexdsp找到这个文件复制到speex目录(有很多个,不知道应该是哪一个,我就每个里面都复制了)下
同时,编译成功后安装到手机上logcat打印No JNI_OnLoad found in *******.so skipping init,目前还没解决
其他问题可以看这里http://demo.netfoucs.com/deng0zhaotai/article/details/37901557