我试过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/