Typically, after you have installed and configured the environment variables for the Android SDK, you will not see your device immediately after you successfully enter the ADB devices on the command line (Terminal). This eliminates the problem of the device itself, the most common is in the user directory of the. Android folder has no Adb_usb.ini files in it. This is true for both Windows and Linux environments.
Windows environment
Go to the C:users directory and find the folder of your name, and you'll see a. android named folder (no new one). After opening, there are some adbkey information to find out if there are any adb_usb.ini files, no new ones. The content is the address of the device, usually 0x1782.
Adb_usb.ini file formats such as:
0x1792
0x119a
Enter and save.
Ubuntu Environment
Similar to win, creates the Create file ". Android/adb_usb.ini" under the current user directory, which is the Idvendor of the device Lsusb sees.
A idvendor is added to each row in the Adb_usb.ini.
Then execute the command line:
sudo adb kill-server
sudo adb devices
You can see the device.