Основные возможности, которые мне нужны от adb - Android Debug Bridge:Olej писал(а):B USB подключение adb даёт:Здесь первые 2 - это эмуляторы, а 3-я строка - это подключенный реальный планшетКод: Выделить всё
[olej@dell platform-tools]$ ./adb devices List of devices attached emulator-5556 device emulator-5554 device 0123456789ABCDEF device
- выбор конкретного устройства для команд
- установка на Android приложения из .apk файла:Send commands to a specific deviceКод: Выделить всё
$ adb -s emulator-5555 install helloWorld.apk
- копирование из Android:Install an app
You can use adb to install an APK on an emulator or connected device with the install command:Код: Выделить всё
adb install <path_to_apk>
- копирование на Android:To copy a file or directory and its sub-directories from the device, do the following:Код: Выделить всё
adb pull <remote> <local>
Где:To copy a file or directory and its sub-directories to the device, do the following:Код: Выделить всё
adb push <local> <remote>
- подключиться к устройству по TCP/IP (через WiFi, например):Replace local and remote with the paths to the target files/directory on your development machine (local) and on the device (remote). For example:Код: Выделить всё
adb push foo.txt /sdcard/foo.txt
Connect to a device over TCP/IP. If you do not specify a port, then the default port, 5555, is used.Код: Выделить всё
adb connect host[:port]