如何在具有Android Studio的真实设备中测试android应用程序? [英] How to test android apps in a real device with Android Studio?
本文介绍了如何在具有Android Studio的真实设备中测试android应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我开始使用Android Studio IDE
在android中进行开发,我在emulator
上测试了我的应用程序,并且运行良好,但是当我尝试直接在设备中测试这些应用程序时无法识别它,并且控制台显示了下一条消息:
I started to develop in android with Android Studio IDE
, I tested my apps on the emulator
and works fine, but when I tried to test the apps directly in my device doesn't recognize it and the console shows next message:
正在等待设备.找不到USB设备
Waiting for device. USB device not found
- 我在常规"选项卡的目标设备"菜单中的运行">编辑配置..."中配置了"USB设备"
- 我在设备中启用了调试选项"
- 插入/拔下USB
推荐答案
我终于可以在我的设备上运行,只需启用"USB调试" 和允许模拟位置" 从我设备的调试"菜单中选择.
I can run on my device at last, just I enabled the "USB debugging" and "Allow mock location" options from the Debug Menu of my device.
这篇关于如何在具有Android Studio的真实设备中测试android应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文