Debugging 适当的调试不';行不通

Debugging 适当的调试不';行不通,debugging,apportable,Debugging,Apportable,当我在Android Emulator上运行带有apportable debug的项目时,它抛出了这个错误,无法工作 Attaching to pid 1405 Attached; pid = 1405 Can't open socket: Permission denied. Detaching process(es): 1405 1003 KB/s (9592 bytes in 0.009s) GNU gdb (GDB) 7.5.1.20130212-cvs Apportable Editi

当我在Android Emulator上运行带有
apportable debug
的项目时,它抛出了这个错误,无法工作

Attaching to pid 1405
Attached; pid = 1405
Can't open socket: Permission denied.
Detaching process(es): 1405
1003 KB/s (9592 bytes in 0.009s)
GNU gdb (GDB) 7.5.1.20130212-cvs
Apportable Edition
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-apple-darwin11.4.2 --target=arm-elf-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
/Users/Eonil/.apportable/SDK/Build/android-armeabi-debug/EonilGraphicsRunningTester/gdb/gdb.setup:5: Error in sourced command file:
Remote connection closed
(gdb) 
连接到pid 1405
附属的;pid=1405
无法打开套接字:权限被拒绝。
分离过程:1405
1003 KB/s(0.009s中9592字节)
GNU gdb(gdb)7.5.1.20130212-cvs
适当版本
版权所有(C)2012免费软件基金会。
许可证GPLv3+:GNU GPL版本3或更高版本
这是自由软件:您可以自由更改和重新发布它。
在法律允许的范围内,不存在任何担保。键入“显示复制”
和“显示保修”了解详细信息。
此GDB配置为“-host=x86_64-apple-darwin11.4.2--target=arm elf linux”。
有关错误报告说明,请参阅:
.
/Users/Eonil/.apportable/SDK/Build/android armeabi debug/EonilGraphicsRunningTester/gdb/gdb。设置:5:源命令文件中的错误:
远程连接已关闭
(gdb)

我想我需要一些许可。如何进行调试?

确保在Android设备的开发者选项下启用了USB调试


请注意,此设置可能位于不同的位置,具体取决于设备。甚至隐藏。

确保在Android设备的开发者选项下启用了USB调试


请注意,此设置可能位于不同的位置,具体取决于设备。甚至是隐藏的。

这是因为简单的Android Emulator不支持任何简单的直接调试。因为我们不能在模拟器上安装USB设备。唯一的解决方案是购买物理设备。

这是因为简单的Android Emulator不支持任何简单的直接调试。因为我们不能在模拟器上安装USB设备。唯一的解决方案是购买物理设备。

支持使用模拟器,但不建议使用。为此,请使用以下环境修改器;RUN_AS=没有合适的调试

这也适用于默认情况下具有根shell的某些设备


使用仿真器的主要问题是OpenGL性能/行为并不表示正常设备。此外,我们还发现了与生命周期行为的差异,即使用真实设备更容易。

支持使用模拟器,但不建议使用。为此,请使用以下环境修改器;RUN_AS=没有合适的调试

这也适用于默认情况下具有根shell的某些设备


使用仿真器的主要问题是OpenGL性能/行为并不表示正常设备。此外,我们还发现了与生命周期行为的差异,即使用真正的设备更容易。

我认为Android Emulator不支持USB连接。有办法吗?哦,真的。。。我一定忽略了这一点,因为它是如此毫无意义;)我认为Android Emulator不支持USB连接。有办法吗?哦,真的。。。我一定忽略了这一点,因为它是如此毫无意义;)