Android的工作室 - 停留在等待设备 [英] Android Studio - stuck at waiting for device

查看:387
本文介绍了Android的工作室 - 停留在等待设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有三星galaxy S3(Android版本5.1,棒棒糖),和我试图直接运行从Android studio程序我的应用程序,当我运行程序的时候,就死在等待的设备。

I have Samsung galaxy S3 (Android version 5.1 , lollipop) , and I'm trying to run my app from the android studio program directly , when I run the app it got stuck on waiting for device .

例如:

Waiting for device. Target device: samsung-gt_i9300-4df1db2279965f65 

Uploading file local path: C:\Users\AmirMat\AndroidStudioProjects\Chat\app\build\outputs\apk\app-debug.apk  

remote path: /data/local/tmp/com.chat.amirmat.chat

它看起来像它试图上传文件到设备,但诺斯正在发生的事情。

It looks like that its trying to upload the file to the device but noth is happening .

Android的调试模式时,(ADB已打开)。
亚行通过网络也。

The Android debugging mode is on , (adb is on). ADB over network also on .

我试图重新插拔设备,并保持同样的问题。
在logcat的,我可以看到该设备的定义。

I have tried to re-plug the device , and remains same problem . At the logcat I can see that the device is defined .

谁能帮我这个问题?

推荐答案


  • 打开命令行亚行位于

  • open command line where adb is located

键入杀亚行 - 服务器

删除 adbkey adbkey.pub

删除设备

重新插拔一次,或尝试这个 repluging之前

Replug again or try this before repluging

再次打开命令行

键入亚行启动服务器 ADB设备

再次检查

这篇关于Android的工作室 - 停留在等待设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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