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

Setting adb executable path #6

Closed
matheusfillipe opened this issue Jul 18, 2019 · 4 comments
Closed

Setting adb executable path #6

matheusfillipe opened this issue Jul 18, 2019 · 4 comments

Comments

@matheusfillipe
Copy link

I'm on Ubuntu 18.04 LTS, using the adb from android sdk's (from android studio) for scrcyp lauching setting the adb variable to my custom path but that doesn't work with usbauio:

ADB="/home/matheus/bin/adb" usbaudio
[ERROR] Could not find device

Thats the only message I get... even thought I have it:

adb devices
List of devices attached
192.168.0.113:5555 device

And scrcpy is working. That should be a feature or maybe I didn't just found it out yet..

@rom1v
Copy link
Owner

rom1v commented Jul 19, 2019

Did you tested several times, to confirm the error occurs only when you use the ADB env variable? I guess the problem is independant.

@matheusfillipe
Copy link
Author

The variable ADB there doesn't change nothing, I have tested without it. It Should be possible to set the ADB variable path like it is with scrcpy.

So this is sort of a feature request, in case this isn't possible in other way.

If it isn't clear enough yet, I have an adb executable in /usr/bin/adb (created by the android-tools Ubuntu package) and another in /home/matheus/bin/adb, which is a symlink do my Android SDK abd installed with Android studio. The first is version 39 and the last is 41, so I would need usbaudio to use the last one instead of the first, which is what it is probably using by default. How to do that?

Well, I believe that's the issue here, hence I couldn't find any info for setting a custom ADB path for usbaudio. Maybe I just didn't find that it is possible to launch it with scrcpy automatically, then both would use the set ADB, or during the build process I could change this somehow?

@rom1v
Copy link
Owner

rom1v commented Jul 19, 2019

The variable ADB there doesn't change nothing, I have tested without it. It Should be possible to set the ADB variable path like it is with scrcpy.

Oh, yes, usbaudio does not use adb at all.

192.168.0.113:5555 device

And it only works over USB.

@matheusfillipe
Copy link
Author

Hah! Hence the name usbaudio 😂

Everything makes sense now.... So I guess there are no options for wireless audio...

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

No branches or pull requests

2 participants