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

ndk-build: Provide adb path to ndk-gdb #343

Merged

Conversation

MarijnS95
Copy link
Member

adb is not necessarily available in PATH, hence why cargo-apk and ndk-build detect and use this executable from the SDK path. We should do the same for ndk-gdb which strangely doesn't search for adb within the SDK it resides in.

@MarijnS95 MarijnS95 changed the title Provide adb path to ndk-gdb ndk-build: Provide adb path to ndk-gdb Sep 9, 2022
`adb` is not necessarily available in `PATH`, hence why `cargo-apk` and
`ndk-build` detect and use this executable from the SDK path.  We should
do the same for `ndk-gdb` which strangely doesn't search for `adb`
within the SDK it resides in.
@MarijnS95
Copy link
Member Author

Tested on Windows and Linux.

@MarijnS95 MarijnS95 merged commit 4280f6f into rust-mobile:master Sep 9, 2022
@MarijnS95 MarijnS95 deleted the provide-adb-path-to-ndk-gdb branch September 9, 2022 15:43
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

Successfully merging this pull request may close these issues.

None yet

1 participant