Android Studio:“等待设备".尝试在手机上运行应用程序 [英] Android Studio: "Waiting for device." Trying to run app on phone

查看:29
本文介绍了Android Studio:“等待设备".尝试在手机上运行应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我今天正在尝试从 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屋!

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