bilibili / ijkplayer

Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support.
GNU General Public License v2.0
32.38k stars 8.1k forks source link

执行sh android/patch-debugging-with-lldb.sh armv7a失败 #4347

Open zhangli1845 opened 6 years ago

zhangli1845 commented 6 years ago

我在编译完成后想调试JNI部分代码,在执行sh android/patch-debugging-with-lldb.sh armv7a时报错 patch apply ==> armv7a error: patch failed: android/ijkplayer/.gitignore:6 error: android/ijkplayer/.gitignore: patch does not apply git apply ==> patches/0001-gitignore-ignore-.externalNativeBuild.patch error: patch failed: android/ijkplayer/build.gradle:5 error: android/ijkplayer/build.gradle: patch does not apply git apply ==> patches/0002-gradle-upgrade-build-tool-to-2.2.0-beta2.patch error: patch failed: android/ijkplayer/ijkplayer-example/build.gradle:44 error: android/ijkplayer/ijkplayer-example/build.gradle: patch does not apply git apply ==> patches/0003-armv7a-enable-debugging-with-LLDB.patch error: patch failed: ijkmedia/ijkplayer/Android.mk:59 error: ijkmedia/ijkplayer/Android.mk: patch does not apply error: patch failed: ijkmedia/ijksdl/Android.mk:70 error: ijkmedia/ijksdl/Android.mk: patch does not apply git apply ==> patches/0004-armv7a-link-prebuilt-staic-libraries-of-ffmepg.patch

版本为0.8.8 请问这个问题要怎么解决?

zhangli1845 commented 6 years ago

@ctiao 请帮忙看看

zhangli1845 commented 6 years ago

@wnpllrzodiac 请帮忙看看

ZYiDa commented 6 years ago

在 iOS 中我遇到过类似的问题,做的处理时去除对 armv7处理器的编译支持,就没有出现这样的问题了。

yeshibuzhong commented 6 years ago

9.0以后的xcode不支持32位应用, 你可以注释掉 编译里边的armv7, 或者使用xcode8编译 如果使用xcode8编译, 记得编译的时候选择xcode8工具, 不然会报错 xcode-select -s xcod8的developer路径