0

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 .

Example :

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 .

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

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

Can anyone help me with this issue ?

AmirM86
  • 113
  • 1
  • 4
  • 11

2 Answers2

0

put your android device to (media device) mtp then disconnect and plug in again

N N K Teja
  • 197
  • 1
  • 7
-1

Method

  • open command line where adb is located

  • Type adb kill-server

  • remove the adbkey and adbkey.pub

  • remove the device

  • Replug again or try this before repluging

  • open command line again

  • Type adb start-server or adb devices

  • check again

Community
  • 1
  • 1
DevUt
  • 1,280
  • 11
  • 24
  • This does not work , when typing adb devices , my device is listed : List of devices attached 4df1db2279965f65 device but still it remains stuck at the waiting for device . I have tried this procedure before I get new message after trying this method : PropertyFetcher: AdbCommandRejectedException getting properties for device 4df1db2279965f65: device unauthorized. Please check the confirmation dialog on your device. – AmirM86 Jul 01 '15 at 12:40
  • Did you removed the adbkey? – DevUt Jul 01 '15 at 12:50
  • I have not voted for it :) yet .. By the way I think its a problem with my devices version , I have tried my friend device and it worked . – AmirM86 Jul 01 '15 at 13:12
  • I think you didn't accept the RSS prompt or no checked always allow – DevUt Jul 01 '15 at 13:31
  • 1
    I have resolved the problem , the solution was only to use another USB cable . I have noticed that when I tried to copy a random file into my phone , it got stuck during the copying also , so after I have changed the cable the problem solved . Thank you so much for trying to help me , I appreciate that :) – AmirM86 Jul 02 '15 at 13:39