Android Studio 2.2.2 LLDB 2.2 更新问题 [英] Android Studio 2.2.2 LLDB 2.2 update issue

查看:26
本文介绍了Android Studio 2.2.2 LLDB 2.2 更新问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天我将我的 android studio 更新到了 V-2.2.2 版本.当我尝试使用本机代码(app-native)调试我的 android 应用程序时,我总是收到错误消息

<块引用>

C++ 调试器包丢失或不兼容,是否要修复它.

更新到 lldb 2.2 后,当我尝试调试本机 C++ 代码时也遇到同样的问题.

我正在使用 'com.android.tools.build:gradle-experimental:0.8.2' 中的 gradle 插件来构建原生 ndk 代码.我什至将 ndk-bundle 更新到最新版本 13.0.3315539

是否有人面临类似问题或能够解决类似问题.

提前致谢.

解决方案

我通过执行以下步骤解决了问题

  1. 转到文件系统上的 android-sdk 文件夹,找到文件夹 lldb 并删除文件夹 lldb.(

<块引用>

为了安全起见,您可以保留备份或重命名文件夹.

)2. 现在从 android studio Tools->Android->SDK Manager->SDK Tools 并更新 lldb 选项.单击应用.它将下载 LLDB 2.23. 现在尝试调试 C++ 代码,调试正常.

问题是由于较旧的下载版本 LLDB 2.1 和较新的 LLDB 版本 2.2 之间存在一些冲突而引起的

Today I updated my android studio to version V-2.2.2. When I am trying to debug my android application with native code(app-native) I am always getting error message

C++ debugger package is missing or incompatible, do you want to fix it.

After updating to lldb 2.2 also I am getting same issue when I try to debug my native c++ code.

I am using gradle plug in 'com.android.tools.build:gradle-experimental:0.8.2' for building native ndk code. I have even updated ndk-bundle to latest version 13.0.3315539

Is anybody facing similar issue or able to resolve similar issue.

Thanks in advance.

解决方案

I resolved issue by performing following steps

  1. Go to android-sdk folder on your file System, Locate folder lldb and delete folder lldb. (

For safety purpose you can keep backup or rename folder.

) 2. Now from android studio Tools->Android->SDK Manager->SDK Tools and update lldb option. Click on Apply. It will download LLDB 2.2 3. Now try to debug C++ code and debugging is working fine as expected.

Issue was arising due to some conflict between older downloaded version LLDB 2.1 and newer LLDB version 2.2

这篇关于Android Studio 2.2.2 LLDB 2.2 更新问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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