相关疑难解决方法(0)

无法将Android Studio的调试程序附加到Android进程

我无法将Android Studio的调试器附加到我的可调试应用程序进程.其他人有这个问题吗?基本上我无法在Choose Process对话框中列出我的应用程序.

我选择的是Attach debugger to Android process:

将调试器附加到Android进程

然后,这是Process selectionAndroid Studio 的对话框如下所示:

要调试的列表中没有应用程序

我的应用程序未显示在Choose Process列表中的任何想法?

虽然,DDMSDevices | logcat列表中看到我的应用程序:

<code>Android Monitor</code>也看到<code>Devices</code>列表中的应用程序:</p>

<p><img rel=

我试过这些动作:

  • 重新启动 MacBook
  • 重启设备:试过Samsung Galaxy Note II N7100(4.3)和Samsung Galaxy S4(4.4.2)
  • 重新Settings->Developer Options启用设备
  • 重新Settings->Developer Options->USB debugging启用设备
  • adb通过运行adb kill-server和重新启动adb start-server
  • 从macbook重新连接设备和/或插入另一个USB端口
  • 在macbook上启动Genymotion虚拟设备
  • restarting in TCP mode port: 5555通过运行adb tcpip 5555然后连接到它adb connect 192.168.1.87 …

debugging macos android adb android-studio

40
推荐指数
5
解决办法
5万
查看次数

标签 统计

adb ×1

android ×1

android-studio ×1

debugging ×1

macos ×1