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

system adb conflicts with hunter adb #268

Open
headupinclouds opened this issue Jan 21, 2017 · 4 comments
Open

system adb conflicts with hunter adb #268

headupinclouds opened this issue Jan 21, 2017 · 4 comments

Comments

@headupinclouds
Copy link
Collaborator

TODO: Either provide an easy way to export the hunter provided adb for development use, or provide an option to use the system adb while in development mode. Probably the first option is more compatible with hunter goals, but both could work well in practice.

This turns up in the scenario with Hunter is running adb commands for testing or launching applications, and a user runs a system adb logcat or adb shell for debugging.

@ruslo
Copy link
Collaborator

ruslo commented Jan 21, 2017

This turns up in the scenario with Hunter is running adb commands for testing or launching applications, and a user runs a system adb logcat or adb shell for debugging

Is there any problem with it?

Either provide an easy way to export the hunter provided adb for development use

On *nix we can create symlink to the adb in CMAKE_BINARY_DIR (i.e. on _builds/<toolchain>). On Windows it can be *.bat file which will update PATH, or adb.bat which will run real adb from Hunter.

@headupinclouds
Copy link
Collaborator Author

Is there any problem with it?

This was a note for an issue I ran into, and isn't very high priority. The main issue is that it leads to an adb server/client version mismatch. I get adb server version (32) doesn't match this client (36); killing... In my latest test, adb seems to take care of this itself. I previously ran into a situation where it seemed I had to kill adb manually. If this doesn't turn up again in testing I'll close it.

@headupinclouds
Copy link
Collaborator Author

I recall the core issue. If you are running something like make facefilter-launch which is managed by the hunter adb, and you want to observe the logs while the program is running via the (system) adb logcat...

@ruslo
Copy link
Collaborator

ruslo commented Jan 22, 2017

If this doesn't turn up again in testing I'll close it

No, it's a valid issue that need to be solved. I was just wondering about any real erros.

@headupinclouds headupinclouds mentioned this issue Jan 22, 2017
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants