如何解决调试器分离;对象注册表曾在android的工作室1项 [英] How to solve Debugger has detached; object registry had 1 entries in android studio

查看:221
本文介绍了如何解决调试器分离;对象注册表曾在android的工作室1项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我我真正的设备连接到 Android的工作室,我会在我的的logcat 。我看不到什么是真正引起我的应用程序崩溃,因为这是我得到的唯一消息。我已经尝试了许多方法,但没有成功。这真的让我疯狂!

  11-11 21:31:59.011 12352-12358 / com.example.project.project
D / dalvikvm:调试器分离;对象注册了1项
 

  1. 工具 - > Android的 - >启用ADB集成

  2. 在Eclipse中:窗口 - >显示视图 - >(其它 - >调试 - >)断点。

  3. 禁用和启用开发选项USB调试选项

这三种方法不适合我的工作。任何想法?

下面显示的屏幕截图我的 Android的工作室

输入图像的描述在这里

解决方案

你检查吗?确保你只能有一个 com.example.project.project 。不知道这是否对你的工作或没有,但至少它为我工作。

祝你好运。

输入图像的描述在这里

When I connect my real device to android studio, I will get this in my logCat. I can't see what's really caused my app crashed since this are the only message I get. I have tried many method but no success. It really drive me crazy !

11-11 21:31:59.011  12352-12358/com.example.project.project
D/dalvikvm﹕ Debugger has detached; object registry had 1 entries

  1. Tools --> Android --> Enable ADB Integration.

  2. In Eclipse: Window->Show View->(Other->Debug->)Breakpoints.

  3. Disable and enable the USB Debugging option in Developer options

These three methods doesn't work for me. Any idea?

Below shows the screen shot of my Android Studio

解决方案

Have you checked this? make sure you only have one com.example.project.project. Not sure whether this work for you or not, but at least it works for me.

Good luck.

这篇关于如何解决调试器分离;对象注册表曾在android的工作室1项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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