Answer the question
In order to leave comments, you need to log in
On Linux, adb -d only prints help but doesn't access the device, why?
I'm trying to debug an application on a device:
[email protected] ~/projects/vanback $ adb devices
List of devices attached
Zera F device
[email protected] ~/projects/vanback $ adb -d Zera F install platforms/android/build/outputs/apk/android-debug.apk
Android Debug Bridge version 1.0.31
-a - directs adb to listen on all interfaces for a connection
-d - directs command to the only connected USB device
returns an error if more than one USB device is present.
...
Answer the question
In order to leave comments, you need to log in
> Any ideas?
of course there are ideas!
for example, you use adb not in the way that its developers planned, and it unobtrusively once again shows you a reference.
For example, if "directs command to the only connected USB device" so why after -d some kind of "Zera F" - what is it and why is it there ?!
and in general, if you have one device connected, you can do it without any -d. just adb install /path/to/file.apk
what does adb devices show?
perhaps the problem is that you did not enable the debug mod on the phone and it cannot connect
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question