简体   繁体   English

Android测试应用程序直接在设备上

[英]Android test application directly on device

is there a way to compile an apk and test it directly in an usb-attached device ? 有没有一种方法可以编译apk并直接在连接USB的设备中对其进行测试? The emulator is way too slow for a fluid development. 对于流体开发,仿真器太慢了。

Using eclipse, make sure the project is debuggable, software for the phone is installed on the computer. 使用eclipse,确保项目可调试,并且计算机上已安装了电话软件。 Set the phone to accept unknown recourses. 将手机设置为接受未知资源。 First connect the phone, then start eclipse (sometimes the other way round results in the phone not being found) If you try to run the application eclipse should prompt you asking witch device to use. 首先连接手机,然后启动eclipse(有时会以相反的方式导致找不到电话)。如果您尝试运行该应用程序,则eclipse会提示您要求巫婆设备使用。 Click your phone and presto! 单击您的手机,然后保存!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM