Android: USB debugging
USB debugging provides access to the application and device debugging service on Android: you can check how the application and system work and identify failures that have occurred
Enable USB debugging
On all Android devices, USB debugging is under the menu and settings, but its location may vary, for example:
Меню (menu) > Настройки (settings) > Разработка (development) > Отладка по USB (USB debugging; вкл [enabled])
Меню (menu) > Настройки (settings) > Приложения (applications) > Разработка (development) > Отладка по USB (USB debugging; вкл [enabled])
Меню (menu) > Настройки (settings) > Еще (more) > Параметры Разработчика (developer options) > Отладка по USB (USB debugging)
Меню (menu) > Настройки (settings) > Общие (general) > О смартфоне/О планшете (about smartphone/tablet) > Номер сборки (build number; tap 7 — 10 times), then return to Настройки (settings) > Для Разработчиков (for developers) > Отладка по USB (USB debugging; вкл [enabled])
After enabling USB debugging
Unlock your smartphone or tablet. Do not use a USB 3.0 port; use only USB 2.0 when connecting to the computer.
When the device connects to the computer for the first time, a prompt asks you to trust the computer: select the checkbox and click OK. USB debugging is enabled.
Install the USB debugging application
ADB (Android Debug Bridge) is used for debugging. ADB is part of the Android SDK, which you need to download here.
Download the Android SDK zip archive. It contains the adt-bundle-windows-x86_64-20140702 folder with the SDK itself. Extract this folder to your computer. For example, if you place it in the root of drive C, the SDK path is C:\adt-bundle-windows-x86_64-20140702\
Make sure the computer is connected to the Internet, and run SDK Manager from the adt-bundle-windows-x86_64-20140702 folder.
If SDK Manager does not start, install Java SE.
When SDK Manager starts, the installation window opens. Download and install
✓ Android SDK Platform-tools
✓ Android SDK Tools
✓ Google Usb Driver package
Select these three items in the list and clear all the others. Click Install and wait for the application to download the components.
The USB drivers for 32-bit and 64-bit Windows are downloaded to C:\adt-bundle-windows-x86_64-20140702\extras\google\usb_driver (install them later if you cannot find official drivers for your tablet or smartphone).
Connect your device to the computer. The computer detects new hardware. Install the drivers from the manufacturer's website or the folder to which they were downloaded earlier (installation is performed through Task Manager > the unknown device > right-click > Update Driver Software.. > browse the computer for drivers > the downloaded drivers).
After the drivers are installed, a new ADB Interface device appears in Device Manager.
If the device is not listed as ADB Interface in Device Manager, check the tablet or smartphone drivers, turn USB debugging off and on again, and reconnect the device to the PC.
Run ADB
The Windows command prompt is the recommended way to work with ADB. To open it, open the Start menu, type cmd in the program and file search field, and press Enter.
To see which devices are connected to the computer, enter the command:
C:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools\adb.exe devices
ADB displays a list of devices currently connected to the computer. If the device appears in the command prompt, you can start debugging.
Debug i3 pro over USB
Enter (1):
C:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools\adb.exe logcat
- the command prompt starts displaying the log from your smartphone or tablet.
Stop the log by pressing Ctrl+C
Enter (2):
C:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools\adb.exe logcat >log.txt
- the log, restarted using (1), is now saved to a text file at C:\Users*Username*\log.txt
Start i3 pro on your tablet or smartphone, start the log (1), perform the action you want to log, and stop logging by pressing Ctrl+C.
You can send the saved log to technical support along with your project, a description of the problem, and the model and firmware version of the tablet or smartphone on which the problem occurred.