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.

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?)”

Android Wireless Debugging without ... x
Android Wireless Debugging without USB - ADB over WiFi

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

Sign up to our newsletter!

ADB Commands Android Android Applications Android Build system 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, Debugging and Performance Tools Development and Build 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 NDK / Middleware / HAL Operating System 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 Embedded Linux