【问题标题】:I saw the yt-watchme code in github. when i build ndk it not done [closed]我在 github 中看到了 yt-watchme 代码。当我构建ndk时它没有完成[关闭]
【发布时间】:2020-03-24 07:23:16
【问题描述】:

我在 github 上看到了 yt-watchme 代码。当我构建 ndk 时,它没有完成。

c 文件:

ffmpeg-jni.c

jni 文件夹

当我构建 ndk 时,它是这样的

我该如何解决这个错误?

【问题讨论】:

    标签: android ffmpeg android-ndk android-ffmpeg


    【解决方案1】:

    jintJNICALL 应该用空格隔开。

    另一个错误是因为您没有传递格式字符串。 将该行更改为

    LOGI("%s", x);
    

    当你得到它编译时,请提交一个拉请求供其他人使用:)

    【讨论】:

    • 如何删除警告
    • 修复代码或添加禁用警告的标志-Wno-pointer-sign
    • 我添加了这个标志 -Wno-pointer-sign 但出现了警告。
    猜你喜欢
    • 2019-02-21
    • 1970-01-01
    • 2021-02-19
    • 2022-12-21
    • 1970-01-01
    • 2019-08-26
    • 1970-01-01
    • 1970-01-01
    • 2021-04-13
    相关资源
    最近更新 更多