【问题标题】:Android NDK Cross Compile FFmpeg, dlopen failed: cannot locate symbolAndroid NDK 交叉编译 FFmpeg,dlopen 失败:找不到符号
【发布时间】:2019-12-26 12:11:50
【问题描述】:

Android NDK-r20 交叉编译 FFmpeg4.2 成功,但我的应用程序崩溃了

UnsatisfiedLinkError: dlopen failed: 找不到符号 __aeabi_idiv

这是我的“build_android.sh”的ffmpeg4.2源代码

ffmpeg-android-build

config the NDK r20 root path in "build_android.sh"
$ cd ffmpeg-android-build
$ ./build_android.sh
$ make -j 4
$ make install

这是我测试ffmpeg的android项目

ffmpeg-android-test

好像解决了,我的情况不知道怎么办

#cannot-locate-symbols

例外

  1. 需要NDK-r20和FFmpeg-4.2(不能改版本)
  2. 我的android测试项目运行

【问题讨论】:

    标签: android ffmpeg android-ndk cross-compiling android-ffmpeg


    【解决方案1】:

    现在,问题似乎已经解决了。

    Old build_android.sh

    New build_android.sh

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-06-14
      • 1970-01-01
      • 1970-01-01
      • 2015-07-20
      • 2018-03-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多