-
Notifications
You must be signed in to change notification settings - Fork 2
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
adb_client support #4
Comments
Aha yes, I'd love to but it seems they're missing support for the USB protocol so far which I feel would become a regression since we support it by default. It seems they don't support installing apks from the client either. How this could work is by using an experimental flag perhaps. android --use-adb-client connect --port <custom_port> 192.168.29.1 # how to persist connection here without a daemon ??
android --use-adb-client shell
android --use-adb-client ... # other commands which could work similarly or.. the worse method if we can't persist connections, you'd need to pass the host & port every single time you do an action |
That's a major issue that I didn't notice! Feel free to keep this issue for tracking
Wireless ADB actually advertises an mDNS service on So there is no real ADB client for Rust (e.g. doesn't just forward calls to adbd) |
Hey ! I just found you talked about Support for USB is available since 2.0.0 and wireless ADB is also coming (currently in a PR). I would be happy to help you use my crate if you find it worth it :) |
Hi @cocool97, thats cool man. it makes me happy. I've long been interested in migrating to @cocool97 do you mind going through the commands that if everything seems fine, I'll start the process of migration in a new branch. |
Can you rather provide me this list ? I'll complete it afterwards ! |
Not too many atm. https://android-cli.syed.world/ - if you go here, you can see the adb commands it wraps. |
Is What is the difference between launch and run ? From what I see the only missing function would be I think that you can start now using this library on a branch to see if everything is OK for you, this shouldn't be hard to use if you already have functions running standard "ADB" commands. |
Actually no, launch calls run is out of scope too. I might not be able to pick this up until the upcoming weekend so it is alright you can go ahead and implement the install command. |
Install command is now available in version |
As you said on Reddit, could you integrate
adb_client
into the project?The text was updated successfully, but these errors were encountered: