如何在 HTC Thunderbolt 上测试应用程序
我一直在开发一个 Android 应用程序,我想在真实的手机上测试它。我最近买了一个htc Thunderbolt来尝试一下。问题是我的电脑无法安装adb驱动。我需要做什么才能让它发挥作用?我使用的IDE是eclipse,电脑是windows 7 home primium。
I have been developing an android app, and i wanted to test it out on a real phone. I recently bought an htc thunderbolt to try it out in. The problem is, that my computer won't install the adb driver. What do i need to do to get it to work? The ide i am using is eclipse, the computer is windows 7 home primium.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
从 HTC 网站安装 HTC Sync(包括手机驱动程序)。然后 Windows 应该可以毫无问题地检测到您的手机。
Install HTC Sync from HTC's website (this includes phone drivers). Windows should then detect your phone without a problem.
Windows 下的设备需要其驱动程序。
您可以从此处获取 Google 的产品,也可以从此处。
Devices under windows need their drivers.
You can get Google ones from here and other vendors from here.
安装设备驱动程序后,您的设备将进行检测。
稍后转到命令提示符并编写命令
adb install
例如。 adb install e:\test.apk
这会将 apk 文件安装到您的设备上
After Installing the Device driver your device will detect.
later goto command prompt and write the command
adb install
eg. adb install e:\test.apk
this will install the apk file to your device
在最坏的情况下,您始终可以通过从 DDMS 拉取将 .apk 传递到手机的 microSD。
我用华为手机试过了,效果很好。
In the worst case, you always can pass the .apk to the microSD of the phone simply with a pull from the DDMS.
I tried this with a Huawei mobile and it worked fine.