[英]How to configure USB Debugging for Android for a Gluon-mobile app in Eclipse?
I tried to configure USB Debugging for Android in Eclipse (for a Gluon-mobile application) similar to the steps described in the answer to this question . 我尝试在Eclipse中配置针对Android的USB调试(对于Gluon移动应用程序),类似于此问题的答案中描述的步骤。 As step 5 I defined in Eclipse->Run->Debug Configurations...->Remote Java Application
正如我在Eclipse-> Run-> Debug Configurations ...-> Remote Java Application中定义的第5步
When I start debugging with this config, I get 当我开始使用此配置进行调试时,我得到了
Failed to connect to remote VM. Connection refused.
Connection refused: connect
I see the device using adb devices
and the port in the monitor
. 我看到设备使用
adb devices
和monitor
的端口。 USB debugging is enabled on the android device. 在Android设备上启用USB调试。
So what am I doing wrong or what is missing ? 那么我做错了什么或者缺少了什么?
EDIT Meanwhile I found out that if the monitor is kept running then the debugging via Eclipse works! 编辑同时我发现如果监视器继续运行,那么Eclipse的调试工作正常! But is it really the
monitor
that needs to be running or is adb
sufficient and what are the command line options for adb to enable the debugging with Eclipse ? 但它真的是需要运行的
monitor
还是足够的adb
以及adb
的命令行选项是什么,以便能够使用Eclipse进行调试?
据我所知,监视器应该运行以使端口打开。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.