USB系绳和调试的同时 [英] Usb tether and debug at the same time

查看:111
本文介绍了USB系绳和调试的同时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要我的Andr​​oid设备上的网络连接来测试应用程序。我的笔记本电脑无线适配器坏了,所以2小时后我已经设置通过USB连接。但! Eclipse不看设备时,我开始有线连接单元它来获取连接,我不能调试我的应用程序。

I need network connection on my Android device to test apps. My notebook WiFi adapter is broken, so after 2 hours I've set connection via USB. But! Eclipse doesn't see the device when I start "Wired Tether" on it to get connection and I can't debug my apps.

有谁知道如何解决这个问题呢?使用USB绑定,以获得在同一时间对手机和调试应用程序的网络连接?

Does anybody know how to solve this issue? Use USB tethering to get internet connection on phone and debug apps at the same time?

推荐答案

我不知道的方式同时使用USB调试和圈养。下面是一些解决方法,但:

I don't know of a way to simultaneously use USB debugging and tethering. Here are some workarounds, though:

  • 获取USB无线适配器,为您的计算机(见的http://www.amazon.com/gp/bestsellers/electronics/13983791/ref=pd_zg_hrsr_e_2_4_last).我不知道,如果购买这些是给你在印度的一个选项。
  • 发送您的apk到您的手机以无线的应用程序安装(请参阅<一href="http://stackoverflow.com/questions/4351942/developing-on-android-based-device-via-wireless">Developing在通过无线基于android设备),然后直接查看logcat的在手机上进行调试(aLogcat似乎是受欢迎的,并允许用户通过发送日志文件,例如邮件,这样就可以打开它们在您的计算机,查看他们更大的屏幕上)
  • Get a USB wireless adapter for your computer (see http://www.amazon.com/gp/bestsellers/electronics/13983791/ref=pd_zg_hrsr_e_2_4_last). I don't know if buying one of these is an option for you in India.
  • Send your apk to your phone wirelessly for app installation (see Developing on android-based device via wireless) and then view the logcat directly on the phone for debugging (aLogcat seems to be popular, and allows you to send log files via, for example, email, so that you can open them on your computer to view them on a bigger screen)

我知道这些解决方案涉及到一些成本,工作量,或不便,但希望一会为你工作。

I know these solutions involve some cost, effort, or inconvenience, but hopefully one will work for you.

编辑:

由于从@shkschneider和@ codeShane回答指出,通过蓝牙共享上网成为可能。 codeShane的回答中提到PdaNet(这显然还允许同时USB绑定和调试),并包含一个链接。另一种方案是 OpenGarden 。这些解决方案提供访问因特网经由电话计算机。如果反向需要(这是不能从问题完全清楚),反向束缚似乎是答案(见从@NickL答案)。

As noted in answers from @shkschneider and @CodeShane, Internet sharing via Bluetooth is possible. CodeShane's answer mentions PdaNet (which apparently also allows for simultaneous USB tethering and debugging), and includes a link. Another solution is OpenGarden. These solutions provide access to the Internet for the computer via the phone. If the reverse is desired (and this is not entirely clear from the question), reverse tethering seems to be the answer (see the answer from @NickL).

这篇关于USB系绳和调试的同时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆