Not Able to add android device - 127.0.0.1: Wait for device list, timeout: 7000

Go to File -> Agent Properties . Provide an new port which is not in use in your machine.
Close and restart Appium Studio and again run your test.

what is this file location?

See below


Change the port, Click the Stop button … and Click the Play Button.
Restart the Appium Studio

Hi Kishore even after changing the port. appium studio is not recognizing the device

Please share the latest log . From the last log it was clear that your port was being used already which Appium Attempted to use.

Make sure the logs are clean i.e please delete the existing logs and then replicate the problem

2019-11-27 14:32:11,912 [SwingWorker-pool-9-thread-3] (device.manager.DeviceManager) ERROR Could not process devices from host 127.0.0.1
Stopping the internal server
Starting the internal [HTTP/1.1] server on port 8201
02:33:24 E/adb: Unable to detect adb version, adb output:
2019-11-27 14:33:33,288 [SwingWorker-pool-9-thread-9] (device.manager.DeviceManager) ERROR Could not process devices from host 127.0.0.1

Please share the full log

https://drive.google.com/open?id=1Qw-GsT2ecTvbV0E6bOScrlGad5vGGYJQ added here

for any port number im getting same error

Starting the internal [HTTP/1.1] server on port 6666
02:45:38 E/adb: Unable to detect adb version, adb output:
2019-11-27 14:45:47,981 [SwingWorker-pool-9-thread-4] (device.manager.DeviceManager) ERROR Could not process devices from host 127.0.0.1

Can you try more ports , we get this error - java.net.BindException: Address already in use: bind

i tried running 9999. I haven’t used this port before. still error is same . log file is attached in drive

Can you reshare the log again. For some reason the shared log is gone :frowning:

i removed all old logs and kept only latest one
https://drive.google.com/drive/folders/1Qw-GsT2ecTvbV0E6bOScrlGad5vGGYJQ?usp=sharing

But Bilal I do not see 3 logs which you shared before Appium Studio*.log and error*.log now

You can also get in Help -> Open Logs Folder. In that folder you will fine Appium Studio*.log and error*.log

added appium studio log also pls check now

Although this problem looks specific to you r machine we will review the logs and come back.

Thank you. Ill be waiting .

This problem was solved by

  1. uninstalling Appium Studio
  2. Removing existing adb/android sdk tool from PATH environment variable
  3. Installing APpium Studio again.

Thanks Kishore. Issue resolved.