Skip to content

Commit

Permalink
fixup! Output the logcat results for the recently launched PID
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Sep 7, 2022
1 parent bd69406 commit e3001b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cargo-apk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- Upgrade to latest `ndk-build` to deduplicate libraries before packaging them into the APK. ([#333](https://github.com/rust-windowing/android-ndk-rs/pull/333))
- Support `android:resizeableActivity`. ([#338](https://github.com/rust-windowing/android-ndk-rs/pull/338))
- Add `--device` argument to select `adb` device by serial (see `adb devices` for connected devices and their serial). ([#329](https://github.com/rust-windowing/android-ndk-rs/pull/329))
- Print and follow `adb logcat` output after starting app. ([#332](https://github.com/rust-windowing/android-ndk-rs/pull/332))

# 0.9.3 (2022-07-05)

Expand Down
2 changes: 1 addition & 1 deletion cargo-apk/src/apk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ impl<'a> ApkBuilder<'a> {
apk.install(self.device_serial.as_deref())?;
let pid = apk.start(self.device_serial.as_deref())?;

let handle = self
let _handle = self
.ndk
.adb(self.device_serial.as_deref())?
.arg("logcat")
Expand Down

0 comments on commit e3001b1

Please sign in to comment.