Skip to content

fix: cli's local adb is not used #4359

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

Merged
merged 1 commit into from
Feb 11, 2019

Conversation

rosen-vladimirov
Copy link
Contributor

In case there's no ANDROI_HOME on user's machine, CLI tries to use its local copy of adb. However, the current path to adb is not correct and CLI does not work with any Android devices in this case.
Fix the path to local copy of adb.

PR Checklist

What is the current behavior?

When you do not have ANDROID_HOME set and Android device is attached, CLI does not discover it, i.e. tns devices will not show the devices.

What is the new behavior?

When you do not have ANDROID_HOME set and Android device is attached, CLI will discover it, i.e. tns devices will show the device.

In case there's no ANDROI_HOME on user's machine, CLI tries to use its local copy of adb. However, the current path to adb is not correct and CLI does not work with any Android devices in this case.
Fix the path to local copy of adb.
@rosen-vladimirov rosen-vladimirov added bug no-changelog The issue is present only in `next` versions and was not included in official version. labels Feb 11, 2019
@rosen-vladimirov rosen-vladimirov added this to the 5.2.0 milestone Feb 11, 2019
@rosen-vladimirov rosen-vladimirov self-assigned this Feb 11, 2019
@rosen-vladimirov
Copy link
Contributor Author

Merging without waiting for CLI package tests cannot be affected by this change.

@rosen-vladimirov rosen-vladimirov merged commit 3569805 into release Feb 11, 2019
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/fix-using-private-adb branch February 11, 2019 16:17
dtopuzov added a commit to NativeScript/nativescript-tooling-qa that referenced this pull request Feb 11, 2019
dtopuzov added a commit to NativeScript/nativescript-tooling-qa that referenced this pull request Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug no-changelog The issue is present only in `next` versions and was not included in official version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants