1

apportable debugAndroid Emulator でプロジェクトを実行すると、このエラーが発生して動作しません。

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) 

許可が必要だと思います。デバッグするにはどうすればよいですか?

4

3 に答える 3

0

これは、単に Android Emulator が単純な直接デバッグをサポートしていないためです。エミュレータにUSBデバイスを入れることができないためです。唯一の解決策は、物理デバイスを購入することでした。

于 2013-05-27T11:19:19.727 に答える
0

Android デバイスの開発者向けオプションでUSB デバッグが有効になっていることを確認します。

この設定は、デバイスによって異なる場所にある可能性があることに注意してください。または、Google Nexus の場合のように非表示にすることもできます。

于 2013-05-26T19:30:29.860 に答える