android - 使用 Android Studio 2.0 (Beta 2) 逐步调试 NDK

标签 android android-studio android-ndk

我试过the experimental Gradle Plugin使用 Android Studio 1.5,因为我希望它能够启用 NDK 逐步调试。它没有。

由于从常规构建系统迁移到实验性构建系统需要大量工作,因此在重试之前,我试图弄清楚 Android Studio 2.0 beta 是否启用了这种调试支持。

我不清楚这一段文档:

Multiple NDK Projects

Plugin 0.4.0 added the preliminary support for NDK dependencies and the ability to create just a native library. Please be aware this is a preview of the direction we are going and the implementation is not complete. Note that while it is possible to compile the native project for Gradle, editing and debugging support in Android Studio is not yet implemented.



我用斜体突出显示的最后一部分表示未启用调试,但这是在 中。多个NDK项目部分。它适用于所有配置还是仅适用于具有多个 NDK 依赖项的项目?

最佳答案

这已在 Android Studio 2.2 中修复,但 only for 64 bits .已弃用的 NDK 工具链必须替换为 CMake在项目配置中。

关于android - 使用 Android Studio 2.0 (Beta 2) 逐步调试 NDK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35292049/

相关文章:

android - 通过实时本地通知实现 Android 客户端-服务器通信的最佳方法

android - 从程序向数据库添加数据。安卓

java - Android Maven 插件问题

android - 在 android ndk 中使用 OpenGL 图像显示不正确

c++ - 安卓 NDK + LibEvents

android - ionic 电话应用程序。设置在重启后仍然存在的警报。闹钟响起时打开应用程序

java - Firebase数据库-如何直接获取键下的值? (不在自定义类下)

Android Studio 北极狐 : after update gradle error

android - 在 Android VideoView 中显示 mp4 视频

android-ndk - 找不到方法ndk()作为参数