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

问题描述

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

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

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

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

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

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.

先谢谢了.

推荐答案

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

I resolved issue by performing following steps

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

) 2.现在从android studio工具-> Android-> SDK管理器-> SDK工具中,并更新lldb选项.单击应用".它将下载LLDB 2.2 3.现在尝试调试C ++代码,调试按预期进行.

) 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.

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

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更新问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-13 15:53