亚洲开发银行,无线和Eclipse:我怎么配置?亚洲、开发银行、我怎么、Eclipse

2023-09-12 10:47:20 作者:初

最近我看到,可以通过使用WIFI而不是USB调试的方法来调试应用程序的开发。我做了搜索,我发现所谓的一个应用程序 abdWireless 的,但我有一个问题。

Recently I see that is possible to debug app development by use WIFI instead of USB debug method. I make a search and I found an app called abdWireless but I have a problem.

我怎么能告诉给Eclipse通过无线方式连接?

How I can tell to Eclipse to connect via Wifi method?

我觉得这是一个自动的过程,但在开始调试它打开模拟器。

I think that it is an automatic process, but on start debug it open the Emulator.

有人? :) 再见

推荐答案

首先,运行亚行连接I​​P:端口,例如 ADB连接<电话的IP地址> 从控制台/终端(与你的IP地址和事业的端口)。这使得亚洲开发银行服务,通过网络连接到您的设备。 如果没有指定端口号,端口5555默认情况下使用。

First, run 'adb connect ip:port', like adb connect <phone-ip-address>, from console/terminal (with your IP address and port of cause). This makes adb service to connect to your device via network. Port 5555 is used by default if no port number is specified.

然后检查设备是否正确连接:运行 ADB设备从控制台/终端(请务必从设备中删除USB连接线)。如果 ADB设备未列出您的设备,那么你有一些完全不同的问题。

Then check that device is correctly connected: run adb devices from console/terminal (make sure you remove usb cable from device). If adb devices does not list your device, then you have some entirely different issue.

如果您通过亚洲开发银行连接你的设备,你可以看到设备在 ADB设备名单,但您的日食仍然启动仿真器,:

If you've connected your device via adb and you can see the device in adb devices list, but your eclipse still starts emulator,:

转到运行 - >调试配置 - > [配置] 在您的配置去目标设置页,选择手动 Go to Run->Debug Configuration -> [your configuration] In your configuration go to Target tab and select Manual

这将分别从Eclipse启动应用程序时弹出设备选择。所以,你将能够明确说明/设备使用的仿真器。

This will popup device selection each time you start the app from eclipse. So you will be able to explicitly state which emulator/device to use.

要断开设备, ADB断开&LT;电话的IP地址&gt;