ADB is not detecting my android device on Ubuntu
from lsusb
output I see that your device connected to Bus 004 as a device 005
Here it is
Bus 004 Device 005: ID 1004:6300 LG Electronics, Inc.
I see that you did not create any group.You need to create a group (if permission denied prepend "sudo" following commands):
1) add plugdev group:
groupadd plugdev
2) add your username to plugdev group (useradd -G {group-name} username):
useradd -G plugdev orvi
3) restart udev (you may need to log off and log back in to update user group):
sudo service udev restart
4) Now reload the rules with the following commands:
sudo udevadm control --reload-rules
sudo service udev restart
sudo udevadm trigger
5) Verify device is now allowing plugdev user group access
ls -l /dev/bus/usb/<bus number from step 4>
It should give something like that:
crw-rw-rw- 1 root plugdev 189, 329 Jul 3 18:23 074
6) Run adb devices
to confirm permissions are correct and enjoy!
ADB unable to detect Android Device on Ubuntu 18.04
First Kill the existing running instace of adb server by:-
adb kill-server
Then, run the adb devices
command with sudo
as :-
sudo adb devices
This will start the adb daemon and list your android device without permission error.
Android device not shown with adb
Since you've got Chrome Remote debugging working, just make sure that Chrome debugging isn't running when doing things with adb on the command line.
I believe that Chrome has its own version of adb-server so that would conflict with the one used by Android Studio.
Android device does not show up in adb list
Looks like the installed driver was in bad state. Here is what I did to make it work:
- Delete the device from Device Manager.
- Rescan for hardware changes.
- List item "Slate 21" will show up with "Unknown driver" status.
- Click on "Update Driver" and select /extras/google/usb_driver
Device Manager will find the driver and warn you about installing it. Select "Yes."
This time the device got installed properly.
Note that I didn't have to modify winusb.inf file or update any other driver.
Hope this helps.
Related Topics
Android Edittext Text Control - How to Disable Possibility to Insert Gif from Google Keyboard
How to Change the Icon Color Selected on Bottom Navigation Bar in Android Studio
How to Set Transparency of a Background Image Android Xml File
How to Set Button Click Effect in Android
How to Enable Location Access Programmatically in Android
Setting Webview to View Desktop Site and Not Mobile Site
How Capture/Log API Calls (Function Calls) Made by Android App
Android - Edittext Not Showing Any Text
How to Add a Newline to a Textview in Android
What Is Install_Parse_Failed_No_Certificates Error
How to Painlessly Change My App Title Text Color
App Crashes (Sometimes) With Fatal Signal 11 (Sigsegv), Code 1
How to Delete or Remove Cardview from Recyclerview - Android Studio
How to Avoid the Frame Layout Is Pushed Up When the Soft Keyboard Appears
How to Convert Android.Media.Image to Bitmap Object
How to Make Service That Is Unremovable Even If Killed by the System