在Android Studio中调试本机代码 [英] Debug native code in Android Studio

查看:132
本文介绍了在Android Studio中调试本机代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google I / O 2015承诺在Android Studio中调试本机代码。为此,您需要通过SDK管理器安装ndk-bundle,并将Android Studio更新到最新版本(Canary分支)。接下来该怎么办?怎么设置这是一个到源的链接。 来源

Google I/O 2015 promised debugging native code in Android Studio. To do this, you need to install ndk-bundle through SDK manager and update Android Studio to the latest version (Canary branch). And what to do next? How setup? Here is a link to the source. Source

推荐答案

实际上,广告的NDK支持尚不可用,即使您下载ndk-bundle并将Android Studio更新到金丝雀频道中的最新版本(1.3-preview3截至目前为止)。

Actually, the advertised NDK support isn't available yet, even if you download the ndk-bundle and update Android Studio to the latest version in the canary channel (1.3-preview3 as of now).

SDK工具团队表示,NDK支持不是Android Studio 1.3的第一个预览的一部分。但是它应该很快就会出来 - 他们最近在6月中旬作为目标。

The SDK tools team said that the NDK support wasn't part of the first previews of Android Studio 1.3. However it should be out soon - they recently mentioned mid-June as a target.

更新:现在调试支持。在初始问题的时候不是这样 - 感谢自那时以来的所有downvotes :)请看下面donturner的答案。

update: the debugging support is out now. It wasn't the case at the time of the initial question - thanks for all the downvotes since then :) please look at donturner's answer below.

这篇关于在Android Studio中调试本机代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆