gpt4 book ai didi

android - 无法使用 GDB 和 Eclipse 调试 NDK 的 C++ 代码(OS - Windows 7)

转载 作者:行者123 更新时间:2023-11-28 06:40:27 25 4
gpt4 key购买 nike

当我尝试调试 hello-neon 示例应用程序时。但是当按 F11(调试)时,我看到以下错误(但应用程序启动并运行):

warning: while parsing target description (at line 1): Target description specified unknown architecture "i386" warning: Could not load XML target description; ignoring Could not AssignProcessToObject

评论:我正在使用 Item Atom 手机。

如何解决?

最佳答案

neon 是演示来自 ARM 的 neon 指令集的示例。由于您是在 Intel Atom 手机上运行此程序,因此您会看到此错误。切换到 ARM 设备或创建运行 ARM 镜像的 AVD。如果您想了解如何在 Intel 平台上使用调试器,请使用除 hello-neon 之外的 Android NDK 附带的任何其他示例,并查看此答案以了解如何在 NDK 上进行调试 How to debug C++ code on Android by using Eclipse?

关于android - 无法使用 GDB 和 Eclipse 调试 NDK 的 C++ 代码(OS - Windows 7),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26074362/

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