如何在Android手机上安装APK文件? [英] How to install an APK file on an Android phone?

查看:469
本文介绍了如何在Android手机上安装APK文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我的电脑(的Eclipse 环境)的一个简单的Hello Android的应用程序,我已经建立了一个 APK 文件。如何将APK文件传送到我的Andr​​oid手机进行测试?

I have a simple "Hello Android" application on my computer (Eclipse environment), and I have built an APK file. How do I transfer the APK file to my Android phone for testing?

我的手机是的Ideos 的运行Android 2.2(升级Froyo)。我的电脑有Windows和NBSP; Vista系统。我已经安装了最新的Andr​​oid SDK。

My phone is Ideos running Android 2.2 (Froyo). My laptop has Windows Vista. I have the latest Android SDK installed.

推荐答案

我引用你好Android的,因为我不能更好地说出来; - )

I quote Hello Android because I can't say it better ;-)

您需要启用USB调试手机本身上(通过启动设置应用程序并选择的应用程序的>的发展的>的 USB调试的),安装Android USB设备驱动程序,如果你还没有(仅限于Windows),然后使用该手机附带的USB数据线将电话插入你的电脑。

You need to enable USB debugging on the phone itself (by starting the Settings application and selecting Applications > Development > USB Debugging), install the Android USB device driver if you haven’t already (Windows only), and then plug the phone into your computer using the USB cable that came with the phone.

关闭仿真窗口,如果它已经打开。只要电话接通电源后,Eclipse会加载并运行在手机上的应用程序来代替。你需要右键单击该项目,选择的运行方式的>的 Android应用程序的。

Close the emulator window if it’s already open. As long as the phone is plugged in, Eclipse will load and run applications on the phone instead. You need to right-click the project and select Run As > Android Application.

这篇关于如何在Android手机上安装APK文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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