當我在Android模擬器上運行我的項目apportable debug
時,它吐出這個錯誤並且不起作用。apportable調試不起作用
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)
我想我需要一些權限。我應該怎麼做才能調試?
我不認爲* Android模擬器*支持USB連接。有沒有辦法做到這一點? – Eonil
哦,模擬器...我一定忽略了這個,因爲它沒有意義;) – LearnCocos2D