Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"list of devices attached" is empty #11

Closed
roberts011 opened this issue Jan 27, 2021 · 8 comments
Closed

"list of devices attached" is empty #11

roberts011 opened this issue Jan 27, 2021 · 8 comments

Comments

@roberts011
Copy link

As we discussed

@YuvrajRaghuvanshiS
Copy link
Owner

YuvrajRaghuvanshiS commented Jan 27, 2021

Follow conversation here to understand further.

@YuvrajRaghuvanshiS
Copy link
Owner

I tested that but here's what happened.
Since you entered device name : 12345ab67 (say), it gets stored in memory and further down the line when program needs to run adb commands it takes that id and instead of running adb <command> it runs adb -s 12345ab67 <command>. It explicitly tells the computer to target this particular device.
Now a point can be made what if there's only one device connected? To answer that sometimes (IDK why) it runs a new daemon of adb which does not know any previous devices and fails to run command however no matter now many times daemon run as long as device ID is explicitly told it will get the job done.

@YuvrajRaghuvanshiS
Copy link
Owner

I request you to suggest any documentation and/or program changes which make it easy to understand.

@YuvrajRaghuvanshiS YuvrajRaghuvanshiS added the documentation Improvements or additions to documentation label Jan 27, 2021
@roberts011
Copy link
Author

@YuvrajRaghuvanshiS
Copy link
Owner

Can yur run me through the process? I mean did it ask for device id already? Any add. Info?

@roberts011
Copy link
Author

roberts011 commented Jan 27, 2021

I ran the script,
copy pasted the name of my device into it when prompted (list was empty, got the name from before "adb devices")
pressed y

@YuvrajRaghuvanshiS
Copy link
Owner

You don't have to do adb devices seperately. It does this when listing device. "If list is empty close terminal, remove and replug the device, and re-run the script.
#ToDo Update README.md

@YuvrajRaghuvanshiS YuvrajRaghuvanshiS removed documentation Improvements or additions to documentation work in progress labels Jan 28, 2021
@YuvrajRaghuvanshiS
Copy link
Owner

YuvrajRaghuvanshiS commented Jan 30, 2021

Fixed in caa3ee9...b089786

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants