android - Android Studio Canary 3.0 中的 NDK 问题

标签 android c++ android-studio android-ndk

在我的 Telegram 项目中,我遇到了这个问题。我试过以下:

  1. 项目jni目录下的ndk-build V=1
  2. 清理项目并删除所有中间体 没有帮助。 NDK 错误日志。请帮忙!

https://pastebin.com/Fdb5VaXs

It contains the log for the same.

最佳答案

看起来 breakpad 还不兼容 NDK 中的新 header 。我已经向他们提交了一个 bug 来解决这个问题:https://bugs.chromium.org/p/google-breakpad/issues/detail?id=733

在那之前,您可以通过将 APP_DEPRECATED_HEADERS := true 添加到您的 Application.mk 来恢复到旧 header ,如 our docs 所述在 the r15 beta 2 changelog 中链接.

关于android - Android Studio Canary 3.0 中的 NDK 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44141159/

相关文章:

android - Caused by : android. database.sqlite.SQLiteException: 无法将只读数据库从版本 0 升级到 1

android - 如何使用 viewmodel + livedata 进行单元测试改造 api 调用?

c++ - 同一个浮点计算的不同结果

c++ - 使用 SWIG 包装 C++ 类以在 Lua 中使用它 - 需要简单的示例

android - 使用gradle更新Android应用程序版本(存储在build.gradle中)

android - Android Twitter OAuth 上的错误 Java.Lang.NullPointer 异常

c# - Android 中的特殊文件夹

c++ - 我如何可靠地判断 boost 线程是否已退出其 run 方法?

android - 重复条目:com/google/android/maps/GeoPoint.class

android-studio - 跨项目 Android Studio 共享自己的模块