如何安装我的摩托罗拉Android应用 [英] how to install my app on Motorola Android

查看:230
本文介绍了如何安装我的摩托罗拉Android应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想摩托罗拉Android安装我的应用程序作为测试。如何?请分享我一步链接任何一步

I'd like to install my app on Motorola Android as a testing. how to? Please share me any step by step link

推荐答案

复制http://developer.android.com/guide/developing/eclipse-adt.html 并的 http://developer.android.com/guide/developing/device.html#setting-up 假设你正在使用的Eclipse插件。也许只是为了更好地自己阅读。

Copied from http://developer.android.com/guide/developing/eclipse-adt.html and http://developer.android.com/guide/developing/device.html#setting-up assuming you are using the eclipse plugin. Might be better just to read them yourself.

* Declare your application as debuggable in your manifest

在Eclipse中,你可以从应用程序选项卡查看清单时,做到这一点(在右侧,可调试设置为true)。否则,在AndroidManifest.xml文件中添加的android:可调试=真的元素

In Eclipse, you can do this from the Application tab when viewing the Manifest (on the right side, set Debuggable to true). Otherwise, in the AndroidManifest.xml file, add android:debuggable="true" to the element.

* Enable USB Debugging on your device

在设备上,转到主屏幕,preSS菜单,选择应用程序>开发,然后启用USB调试。

On the device, go to the home screen, press MENU, select Applications > Development, then enable USB debugging.

* Ensure that your development computer can detect your device when connected via USB

在从Eclipse菜单栏设置和设备通过USB连接,通过选择Run>运行安装在设备上的应用程序(或运行>调试)。

Once set up and your device is connected via USB, install your application on the device by selecting Run > Run (or Run > Debug) from the Eclipse menu bar.

另请参见 http://developer.android.com/guide/开发/ device.html#的建立

您可以验证您的设备是从你的SDK工具/目录执行ADB设备连接。如果连接,你会看到列为设备名称设备。

You can verify that your device is connected by executing adb devices from your SDK tools/ directory. If connected, you'll see the device name listed as a "device."

如果使用Eclipse,运行或调试如常。您将与设备选择器对话框,其中列出了可用的仿真器(S)和连接的设备(S)psented $ P $。选择要在其安装和运行应用程序的设备。

If using Eclipse, run or debug as usual. You will be presented with a Device Chooser dialog that lists the available emulator(s) and connected device(s). Select the device upon which you want to install and run the application.

这篇关于如何安装我的摩托罗拉Android应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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