Android Studio Windows:调试器进程已完成,退出代码为 -1073741515 (0xC0000135)
我的应用程序中有本机代码和 Java,因此我需要能够调试 Java 和本机代码。
升级到 Android Studio Bumblebee 后 | 2021.1.1 补丁 2,我无法再在启用本机调试的情况下调试我的应用程序。如果“调试类型:”设置为“仅限 Java”,我可以在调试模式下运行并跟踪 Java 代码,但无法跟踪本机函数。如果“调试类型:”设置为自动检测
、Native Only
或双(Java+Native)
,调试器将无法启动。
我以前调试本机代码从来没有遇到过问题。当我尝试在调试模式下启动时,出现以下错误:
调试器进程已完成,退出代码为 -1073741515 (0xC0000135)。您的系统上可能缺少本机调试器所需的库。
如何找出缺少哪个库?我升级了 Android Studio 所说的所有更新。
I have both native code and Java in my app so I need to be able to debug both Java and native code.
After upgrading to Android Studio Bumblebee | 2021.1.1 Patch 2, I can no longer debug my app with native debugging enabled. If the 'Debug type:' is set to Java Only
, I can run in debug mode and trace through Java code but cannot trace into native functions. If 'Debug type:' is set to Detect Automatically
, Native Only
or Dual (Java+Native)
the debugger fails to start.
I never had trouble debugging native code before. When I try to start in debug mode I get the following error:
Debugger process finished with exit code -1073741515 (0xC0000135). A library required by the native debugger might be missing on your system.
How do I find out what library is missing? I upgraded everything that Android Studio said had updates.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
转到“运行->编辑配置”,然后选择“调试器”菜单项并检查“调试类型”是否设置为“自动检测”。如果是这样,请尝试将其设置为“仅 Java”,应用该设置并查看调试器现在是否正常工作。这就是为我解决的问题。
Go to "Run->Edit Configurations" then select the "Debugger" menu item and check to see if "Debug type" was set to "Detect Automatically". If so, try setting it to "Java Only", apply that and see if the debugger now works. That's what fixed it for me.