java 如何在 Eclipse 中将平板电脑连接到 android SDK

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10159599/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-30 23:52:12  来源:igfitidea点击:

How can I connect Tablet to android SDK in Eclipse

javaandroid

提问by Sachin D

I an developing an application in android and I want to connect tablet to Android Eclipse so that I can use Tablet instead of AVD.Is it possible to do that? If yes how can I do it?

我正在 android 中开发一个应用程序,我想将平板电脑连接到 Android Eclipse,以便我可以使用平板电脑而不是 AVD。是否可以这样做?如果是,我该怎么做?

I have Eclipse with android SDK 15 i.e. android 4.0.3 and Tablet with OS Android 4.0.3.

我有带 android SDK 15 的 Eclipse,即 android 4.0.3 和带 OS Android 4.0.3 的平板电脑。

采纳答案by MByD

There should be no problem. Two notes:

应该没有问题。两个注意事项:

  • For some devices you need to install appropriate drivers, and they may usually be found in the vendor's site.
  • You need to enable the devices for debugging, take a look here.
  • 对于某些设备,您需要安装适当的驱动程序,它们通常可以在供应商的站点中找到。
  • 您需要启用设备进行调试,请看这里

回答by Suraj

install the drivers for your tablet or the one from google..enable usb debugging mode in you settings>development>enble usb debugging

为您的平板电脑或谷歌安装驱动程序..在您的设置>开发>启用USB调试中启用USB调试模式

your ready to go..just debug your code and it will run on the tablet

你准备好了..只需调试你的代码,它就会在平板电脑上运行

回答by JustTry

I faced the same issue , Actually my laptop is too slow to use emulator so i decided to debug on tab. steps i follow

我遇到了同样的问题,实际上我的笔记本电脑太慢而无法使用模拟器,所以我决定在选项卡上进行调试。我遵循的步骤

1) Let eclipse have usb debugging software http://developer.android.com/sdk/win-usb.html

1)让eclipse有usb调试软件 http://developer.android.com/sdk/win-usb.html

2) get and install the driver for my windows 7 os, from asus as I am using fonepad 7. from here http://developer.android.com/tools/extras/oem-usb.html#InstallingDriver

2)从华硕获取并安装适用于我的 Windows 7 操作系统的驱动程序,因为我正在使用 fonepad 7。从这里 http://developer.android.com/tools/extras/oem-usb.html#InstallingDriver

3) Turn usb debugging in android, you will find out in google how to do that. Need to tap on build version several times will turn it on. Then enable usb debugging

3)在android中打开usb调试,你会在谷歌中找到如何做到这一点。需要多次点击构建版本才能将其打开。然后开启usb调试

HW/SW list I am using a) Windows 7 b) Asus fonepad 7 android 4.4.2

我使用的硬件/软件列表 a) Windows 7 b) Asus fonepad 7 android 4.4.2

Key is you need to find correct driver for your android device.

关键是您需要为您的 android 设备找到正确的驱动程序。