Android Studio:“等待设备".尝试在手机上运行应用程序 [英] Android Studio: "Waiting for device." Trying to run app on phone
问题描述
我今天正在尝试从 Eclipse 过渡到 Android Studio.我在 Eclipse 中生成了 Gradle 构建文件并导入到 Android Studio.我更改了我的首选项,从 USB 设备而不是模拟器运行应用程序.现在,当我在插入手机的情况下运行我的应用程序时,我得到的只是一条消息,上面写着正在等待设备".
I'm attempting to transition from Eclipse to Android Studio today. I generated the Gradle build files in Eclipse and imported into Android Studio. I changed my preferences to run the app from a USB device instead of the emulator. Now when I run my app with my phone plugged in, all I get is a message that says "Waiting for device."
有没有其他人尝试过 Android Studio 并在他们的手机上运行了一个应用程序?我很感激任何建议.我已经尝试了很长时间了.
Has anyone else tried out Android Studio and got an app running on their phone? I'd appreciate any advice. I've been trying for quite a while now.
推荐答案
我不时得到这个,简单地拔掉/重新插入设备就可以了.
I get this from time to time and a simple unplug/replug of the device does the trick.
这篇关于Android Studio:“等待设备".尝试在手机上运行应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!