adb_client
adb_client copied to clipboard
Rust ADB (Android Debug Bridge) client library
I had problems compiling on windows, I saw that it was already known #9, I just conditioned termios and the interacive shell to compile only for unix. After that, the...
As we discussed here #10, I implemented pair and connect command and fix displaiying devices with long format
Is it possible to implement the ADB pairing process? For Android version >= 11, pairing is needed before connection.
## Description If I call more than once adb's commands with the same AdbTcpConnection, I got a error message. ``` Error: IOError(Error { kind: UnexpectedEof, message: "failed to fill whole...
cargo.exe build error[E0433]: failed to resolve: could not find `unix` in `os` --> C:\Users\12289\.cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\termios-0.3.3\src\lib.rs:132:14 | 132 | use std::os::unix::io::RawFd; | ^^^^ could not find `unix` in `os` error[E0432]: unresolved import...
This command should run an already installed apk. Parameter could be the activity name to launch.
This command should take an apk path as a parameter, and install it on the targeted device.
Currently we have to do `cargo install adb_client --example adb_cli` to get the CLI installed. Is there another way to make it cleaner with only `cargo install adb_client` ?
```rust let connexion = AdbTcpConnexion::new(); let callback = |device:adb_client::Device| { println!("{}", device); Ok(()) }; println!("Live list of devices attached"); connexion.track_devices(callback)?; ``` system Env: ```sh System: Macos 12.3.1 rust version: 1.59.0...