Android test application directly on device

左心房为你撑大大i 提交于 2019-12-11 19:54:13

问题


is there a way to compile an apk and test it directly in an usb-attached device ? The emulator is way too slow for a fluid development.


回答1:


Using eclipse, make sure the project is debuggable, software for the phone is installed on the computer. 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. Click your phone and presto!



来源:https://stackoverflow.com/questions/5957066/android-test-application-directly-on-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!