113 votes

adb no permissions on Ubuntu 17.04

Had same problem. Ensuring that device USB mode is NOT charging only has solved it.
Ivan Klass's user avatar
  • 1,241
100 votes
Accepted

adb no permissions on Ubuntu 17.04

Try to restart the Adb server. sudo adb kill-server and then sudo adb start-server then connect your device turn Debugging on and type adb devices
Sumeet Deshmukh's user avatar
83 votes

Android adb no permission

Change the USB mode in your phone to File Transfer. That's what worked for me.
NuttLoose's user avatar
  • 991
59 votes

adb no permissions on Ubuntu 17.04

Very likely udev is incorrectly adding your device. I too had this problem & came across a relatively simple solution. Find your device in lsusb $ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux ...
Paul's user avatar
  • 697
45 votes

AdbCommandRejectedException: insufficient permissions for device: user in plugdev group; are your udev rules wrong?

This procedure solves the problem for me: On the Android device, drag the top menu and select "USB for file transfer" Press "Run" again It might be accidental, but it has always (about 50 times) ...
Nicolas Raoul's user avatar
39 votes

no permissions fastboot - fastboot and adb not working

Found a better solution over here: https://stackoverflow.com/a/28127944/1621927 Here is the comment: Instead of forcing permissions via sudo each time you need to run fastboot, you can permanently ...
elichai2's user avatar
  • 681
31 votes

Android adb no permission

Remember to run sudo udevadm trigger to get the changes applied (or reboot, but where's the fun in that). Instead of writing your own rules use https://github.com/M0Rf30/android-udev-rules Make sure ...
zamber's user avatar
  • 411
31 votes
Accepted

ADB device list doesn't show phone

Finally got the device detected in adb under adb devices command by restarting adb server with root privilege as mentioned here in the Troubleshooting adb section. sudo adb kill-server sudo adb start-...
1565986223's user avatar
22 votes

How do I set up Android ADB?

Ubuntu 14.04+ Since Trusty the android-tools-adb and android-tools-fastboot packages in the Universe repository provide, respectively, adb and fastboot. To install them: Enable the Universe ...
kos's user avatar
  • 35.9k
20 votes

ADB device list doesn't show phone

You installed the adb program correctly. The Android Debugging isn't activated by default. The activation option is hidden. You'll have to reveal it with these steps: Goto Settings -> About phone -...
L. D. James's user avatar
17 votes

AdbCommandRejectedException: insufficient permissions for device: user in plugdev group; are your udev rules wrong?

In short: The group of the USB device is root, not plugdev. Adding a file /etc/udev/rules.d/51-android.rules SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d002", MODE="0660", GROUP="...
User's user avatar
  • 293
13 votes
Accepted

fastboot not detect my android device - ubuntu

Maybe this question can help you... Try using sudo $(which fastboot) for instance sudo $(which fastboot) devices Of course, if it's still actually at the moment...
Артём's user avatar
10 votes

ADB device list doesn't show phone

To set up device detection on Ubuntu Linux: Using sudo, create this file: /etc/udev/rules.d/51-android.rules. Use this format to add each vendor to the file: SUBSYSTEM=="usb", ATTR{idVendor}=...
Organic Marble's user avatar
9 votes

Trying to install android-tools-adb and getting unable to locate package

Don't know why this hadn't been put as an answer, I just put it here from Charles Green excellent comment. android-tools-adb and android-tools-fastboot are in the universe repository. You can enable ...
Suncatcher's user avatar
8 votes

what is the path to adb binary installation

default path of adb binary installation on ubuntu: /usr/share/android-sdk/platform-tools/adb also you can locate path from terminal: locate android-sdk/platform-tools/adb no matter which os you ...
Praveen Yadav's user avatar
8 votes

ADB device list doesn't show phone

Gilberto Albino gave me a clue. Nobody tells you that some usb cables are only good for charging devices, not for transferring data. You have to figure out which you have for yourself. I think the ...
Greyhair's user avatar
8 votes

Google Pixel not picked up by "adb devices"

I was also getting errors trying to connect my Pixel device: AA69M0123456 no permissions (verify udev rules); see [http://developer.android.com/tools/device.html] Even after setting up udev rules, ...
adelphus's user avatar
  • 183
8 votes

AdbCommandRejectedException: insufficient permissions for device: user in plugdev group; are your udev rules wrong?

I was receiving a similar error due to udev rules not being configured: kirk@laptop:~$ adb devices List of devices attached FA7240300631 device FA7240300631 no permissions (user in plugdev ...
kirk's user avatar
  • 103
7 votes

no permissions fastboot - fastboot and adb not working

My Solution Thanks to elichai2 and this link and list I was able to solve my fastboot permission issue. I have the Google Nexus 6P so I used the following for my Vendor ID: Google - 18d1 51-...
Brandon Authier's user avatar
7 votes

How do I set up Android ADB?

2017-Oct update You don't need to install any package on Ubuntu 16 to get ADB working. No setup is necessary. Simply download the official SDK Platform-Tools for Linux from Google and extract adb ...
Dan Dascalescu's user avatar
7 votes

ADB device list doesn't show phone

Make sure you have a good USB cable and are plugged into a good port. This was always the problem I experience when using ADB and fastboot. Also make sure you update and have the latest ADB drivers.
Mwebbs's user avatar
  • 71
6 votes

How to Update or Re-Install the newest version of ADB?

There are great answers already posted here but for an extremely simple method, just grab the latest platform tools without all the extra bloat and combine with a bash alias for convenience. This ...
Tom Brossman's user avatar
  • 13.1k
6 votes

Android adb no permission

If you restart the ADB server with sudo, it will work. sudo adb kill-server sudo adb start-server
Mukesh Bharsakle's user avatar
6 votes

Android sdk on Ubuntu 32bit

The platform tools now only consist tools for 64 bit architecture. To fix this issue, you need to download platform-tools r23.0.1 which are for 32 bit architecture which can be found at Google's ...
Akash Agarwal's user avatar
6 votes

adb no permissions on Ubuntu 17.04

Changing the USB Mode from Phone did the trick for me. (I set it to File Transfer.)
NuttLoose's user avatar
  • 991
5 votes
Accepted

Install command line tool sqlite3

To run run sqlite3 open the terminal and type sqlite3 $ sqlite3 SQLite version 3.8.2 2013-12-06 14:53:30 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite>
karel's user avatar
  • 115k
5 votes

Library not found in Android Studio

I hope this will solve your problem. I had a freshly installed latest Android Studio and perform all basic steps to run a 'Hello World' project in emulator but had a same problem while running ...
Deepanshu Jain's user avatar
5 votes

adb command not found after installed it

Use this command for adb installation: apt install android-tools-adb
Anurag's user avatar
  • 319
4 votes

Trying to install android-tools-adb and getting unable to locate package

I had to slightly tweak the suggested command from Suncatcher. The following worked for me: sudo add-apt-repository universe && sudo apt-get update && android-tools-fastboot and ...
Nathan's user avatar
  • 41
4 votes

user in plugdev group; are your udev rules wrong or error: insufficient permissions for device: udev requires plugdev group membership?

There are some specific things to do for Ubuntu to make USB debugging work, described in this page on developer.android.com about setting up a device for development. What it suggests is to run these ...
princebillyGK's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible