LG Device Not Listed in ADB Devices
The problem is with the "do you trust this computer" dialog not being shown.
On LG Spirit 4G, the solution is as follows:
- Ensure the developer menu is enabled (through
About phone
->Software info
-> keep tappingBuilder number
) - Ensure USB debugging is enabled in the developer menu
- Go to
Settings
->Tethering & networks
-> switch onUSB tethering
This will finally trigger the "do you trust this computer" dialog and enable USB debugging.
Addendum: After your device is disconnected, the issue might appear again because USB tethering
is automatically disabled.
Well, not sure if the OP is still looking for the answer.I happen to run into the same situation with Mac OS Yosemite and LG Optimus Exceed 2.
I did add the vendor ID to dab_usb.ini file, however, it still doesn't work.I also installed LG driver downloaded from LG website, still no good.
Finally, I switch the PC connection to "Internet connection" > ethernet. Then, it finally shows up in adb devices !!!
This is valid for any device that is not in the ID Vendor in Android Studio or Eclipse and you want to connect to debugging in OS X:
1) Go to Terminal and then:
cd ~cd ./.android
2) Edit the adb_usb.ini
You should use vim instead of textedit.
vim adb_usb.ini
Some text to edit appears:
# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.# USE 'android update adb' TO GENERATE.# 1 USB VENDOR ID PER LINE.
¡¡Insert here the line with the ID Vendor!!The ID Vendor is in About this Mac - system information - USB (have the device to be connected)
3) Go to the path:
cd <where you have the sdk, be careful if you are using Eclipse or Android Studio>/platform-tools
Then, export to the bash:
export PATH="/Applications/Android Studio.app/sdk/platform-tools":$PATH
Then:
sudo adb kill-serversudo adb start-serveradb devices
4) Run Android Studio, and in the DDMS, your device is detected. Then allow permissions in the device.
5) Start debugging, enjoy.