Logo Logo en
  • iRidi Pro
    Основные компоненты
    • Приложение i3 Pro
    • iRidi Pro Server
    • iRidi Studio
    • iRidium studio v. 1.3.8 (устаревшая версия)
    Java Script в iRidi
    • Руководство
    • Справочник
    • Примеры
    • JS драйвера
    другие
    • Личный Кабинет
    • iRidium Cloud
    • iRidium Transfer
    • Push-уведомления
    • Лучшая практика
    Лицензирование
    • Лицензирование и передача проекта
    • Оффлайн-лицензирование
    • Активация iRidi Pro Server
  • Продукты
    i3 lite
    • Приложение i3 lite
    • Регистрация и лицензирование
    • Сервер
    • Модули
    KNX Home Server
    • Приложение i3 KNX
    • KNX Home Server
    BUS77 HOME SERVER
    • Приложения Bus77 Home и Bus77 Lite
    • Bus77 Home Server
    Решения
    • BYOD - решение для гостиниц
    • Портал жителя - решение для МКД
    iRidi SCADA
    • iRidi SCADA
  • Bus77
    НАСТРОЙКА BUS77
    • Основы Bus77
    • Приложения Bus77 Home и Bus77 Lite
    • Работа с драйвером Bus77 в iRidi Studio
    • Настройка шины Bus77 в iRidi Studio
    ПРОТОКОЛ BUS77
    • Характеристики CAN (Bus77)
    • Описание протокола
    • Исходники на GitHub
    ОБОРУДОВАНИЕ BUS77
    • Каталог Bus77 Pro
    • Каталог Bus77 Lite
  • Поддерживаемое оборудование
    Драйверы
    • Список драйверов
    • ProAV драйвера
    • AV & Custom Systems
    • JS драйвера
    • Сторонние драйвера и фриланс
    Протоколы и интерфейсы
    • Голосовое управление
    • 1-Wire
    • BACnet IP
    • Bus77
    • KNX
    • KNX IP BAOS
    • Weinzierl kBerry
    • Microsoft Exchange
    • Modbus
    • MQTT
    • NFC
    • ODBC
    • Onvif
    • SIP
    • SNMP
    • Wake On Lan
    • Z-Wave
    • ZigBee
    Производители
    • AMX
    • AVCiT
    • Beckhoff ADS
    • Biamp Tesira
    • Bluesound
    • Casambi
    • BSS Harman
    • Clipsal
    • ControlArt 7Port
    • Crestron
    • DigiBird
    • Domintell
    • Duotecno
    • EIDE
    • EPSNET
    • Global Cache
    • HDL Buspro
    • Helvar
    • IEAST
    • INELS BUS
    • INELS Wireless
    • Intesis
    • Kleger
    • Kramer VIA
    • Kramer 3000
    • Larnitech
    • Legrand Netatmo
    • LG TV
    • Lutron
    • Lutron Homeworks QS
    • MyHome
    • Nest
    • Novastar
    • Panasоnic PTZ
    • Philips Dynalite
    • PJLink
    • Satel
    • SamsungTV
    • Sonos
    • Somfy
    • SpinetiX
    • Televic Conference
    • TIS
    • Tion
    • URRI
    • Velbus
    • Velocio
    • Vinteo
    • WyreStorm
    • WiiM
    • Xicato
    • Yamaha
    • ZONT
    • Z-Wave.me
    Протестированное оборудование
    • Панель HDL S57
    • Панель HDL S10
    • SIP-домофон
    • Akuvox
    • Arlight
    • Divus
    • QBic TD-1050 PRO
    • QBic TD-1060 Slim
    • QBic TD-1070
    • Sigur
    • Uni-Ubi
    • Velocio
  • Оборудование iRidi

    Серверы
    • HS Сервер
    • ProAV Control Processor Basic
    • ProAV Control Processor Advanced
    • Спецификация контроллеров UMC
    • Настройка контроллера UMC C2
    • Настройка контроллера UMC C3
    • Настройка контроллера HDL IntelliCenter 2 (UMC C4)
    Модули расширения
    • I-PX-RS1
    • I-PX-RS4
    • I-PX-IR3
    KNX
    • KNX Home Server
    • KNX IP Interface
    Панели управления
    • iRidium Panel 7
    • Touch Panel P3
    • Touch Panel P6
    • Touch Panel P8
    • Touch Panel P10
    • Tabletop Touch Panel 10
    • AV Remote Control
    ОБОРУДОВАНИЕ BUS77
    • Каталог Bus77 Pro
    • Каталог Bus77 Lite
    • Differences
iRidium mobile web-site
Содержание
    Инструменты‌
    • Сведения о странице
    • Постоянная ссылка
    • Версия для печати
    • Спецстраницы
    • Связанные правки
    • Ссылки сюда
    Login / Create Account
    Материал из for iRidium developers
    Перейти к: навигация, поиск
    Эта страница является переводом страницы Android USB Debugging. Перевод выполнен на 100%.

    Other languages:
    English • ‎русский

    Android: debugging via UDB

    USB debugging enables use of the service for debugging applications and devices on Android OS: to test work of the application or system and see what failures occured


    Activate debugging via USB

    On all Android devices the option of debugging via USB can be found in Menu > Settings. But the location can differ, for example:

    Menu > Settings > Development > Debugging via USB (on)
    Menu > Settings > Applications > Development > Debugging via USB (on)
    Menu > Settings > Other > Developer parameters > Debugging via USB
    Menu > Settings > General > About smart phone/tablet > Build number (click on it 7 — 10 times), after that return to Settings > For developers > Debugging via USB (on)


    After activation of debugging via USB

    Unlock your smart phone or tablet. Do not use port USB 3.0, use only USB 2.0 when connecting to the computer.

    When the device is connected to the computer for the first time, you will see the trust request to the computer: tick the check-box and click OK. The debugging via USB is on.


    Installation of the application for debugging via USB

    ADB (Android Debug Bridge) is used for debugging. ADB is a component of Android SDK which you can download here.

    Download the zip archive with Android SDK. There there is a folder adt-bundle-windows-x86_64-20140702 containing , которая и содержит the SDK. Unpack it on your computer. For example, we located the folder in the root of the disk С, i.e. the path to the SDK will be as follows: C:\adt-bundle-windows-x86_64-20140702\


    Make sure the computer is connected to the Internet and launch SDK Manager located in the folder adt-bundle-windows-x86_64-20140702.

    If SDK Manager cannot be launched install Java SE.

    After the launch of SDK Manager you will see the installation window. You need to download and install

    ✓ Android SDK Platform-tools
    ✓ Android SDK Tools
    ✓ Google Usb Driver package

    Mark these items in the list and unmark the rest. Click «Install»and wait until the components are downloaded.

    USB drivers for 32- and 64-bit Windows will be downloaded in the folder C:\adt-bundle-windows-x86_64-20140702\extras\google\usb_driver (install them later if you cannot find native drivers for your tablet or smart phone).

    Connect your device to the computer - the computer will find the new equipment. Install the drivers from the manufacturer's web site or from the folder where they were downloaded before (the installation is performed via Task manager > *Unknown device* > the right-click mouse button > Update Driver Software.. > look for the driver on PC > downloaded drivers).

    After installing drivers, a new device will appear in the device manager - «ADB Interface».

    • AndroidSDKPlatform-tools.png
    • GoogleUsbDriverPackage.png
    • ADBInstaller.png
    • ADBinterfaceDeviceManager.png

    If the device is not found in the manager as ADB Interface, check the drivers of your smart phone or tablet, deactivate the mode of USB debugging, then activate it again and reconnect to the PC.


    ADB launch

    It is better to work with ADB via the Windows command string. To activate the command string, click «Start», input cmd in the search field «Find programs and files» and click «Enter».

    To see what devices are connected to the computer, input the command:

    C:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools\adb.exe devices

    ADB will output the list of devices connected to the computer at the moment. If the device is seen in the command string you can start the debugging.

    • ADBdevicesCommandStr.png


    i3 pro debugging via USB

    Input (1):

    C:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools\adb.exe logcat

    - in the command string the output of log information of your smart phone or tablet will start.

    Stop the log by clicking Ctrl+C

    Input (2):

    C:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools\adb.exe logcat >log.txt

    - now the log activated with the help of (1), will be saved in the text file located in C:\Users\*Username*\log.txt

    Start the i3 pro application on your tablet or smart phone, start the log (1), execute the action you want to save in the log, stop the logging by clicking Ctrl+C.


    The saved log can be sent to the technical support team together with your project, description of the problem, indication of the tablet/smart phone model and firmware version.

    Источник — «https://dev.iridi.com/index.php?title=Android_USB_Debugging/en&oldid=29037»
    Категория:
    • Статьи
    About us
    Company
    Team
    History
    Philosophy
    Rewards
    Partnership
    Our partner
    Partnership Programs
    Apply for partnership
    products
    iRidium pro
    iRidium lite
    iRidium gate
    iRidium server
    Loads
    iRidium pro
    iRidium lite
    Other version
    Marketing materials
    Support
    On-line courses/Video
    Recommended equipment
    Other version
    iRidium pro
    Documentation
    FAQ
    Forum
    iRidium lite
    Documentation
    Forum
    Projects
    Standart projects
    Smart buildings
    Smart house
    Special solution
    Find a dealer
    News
    Youtube
    Twitter
    VK
    Logo
    contact@iridi.com
    +7 (499) 322-73-29

    Privacy policy