Solved: adb no permissions error while connecting Android Device to PC

If you have tried to connect any new device to already setup ubuntu where adb was working fine for another device OR you got a new Ubuntu desktop/laptop and wants to setup adb, there are higher chances you may see the error as below, as you attempt to do “adb devices” or “adb shell” to access adb console.

$ adb devices
List of devices attached
???????????? no permissions

There are various reasons you may see this error even though everything was working in another device/host setup, some of the possible solutions are listed as below,

1. Disconnect and Reconnect your device using USB

This is very simple first thing you can try to see if the auto setup after re-connection resolves this error.


Subscribe with Valid Email Id to receive updates in Inbox. ( Secured by Google FeedBurner )

   


2. Kill and restart adb server while USB is already connected.

$ adb disconnect
$ adb kill-server
$ adb start-server

3. Try with sudo permission if you have sudo access

$ sudo adb kill-server
$ sudo adb devices

4. Possibility of some issue with udev, try fix as per our another post, “Solved: no permissions (user in plugdev group; are your udev rules wrong?)”

lynxbee_ezoic

1 thought on “Solved: adb no permissions error while connecting Android Device to PC”

  1. Problem was: on the Android device, USB was set up for “Charge this device”. Once I changed to : “Transfer files” it saw the computer!

    Reply

Leave a Comment

Android Android Build system Android Commands Android Java Applications Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development & Build Development, Debugging and Performance Tools Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia Audio, Video, Images NDK / Middleware / HAL OS Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web design and development Website Hosting Wordpress Yocto / Bitbake / Openembedded