gpt4 book ai didi

Android Studio 2.2.2 LLDB 2.2 更新问题

转载 作者:塔克拉玛干 更新时间:2023-11-02 20:25:56 27 4
gpt4 key购买 nike

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

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

enter image description here

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

enter image description here

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

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

提前致谢。

最佳答案

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

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

For safety purpose you can keep backup or rename folder.

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

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

关于Android Studio 2.2.2 LLDB 2.2 更新问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40169758/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com