113
votes
adb no permissions on Ubuntu 17.04
Had same problem. Ensuring that device USB mode is NOT charging only has solved it.
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
83
votes
Android adb no permission
Change the USB mode in your phone to File Transfer. That's what worked for me.
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 ...
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) ...
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 ...
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 ...
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-...
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 ...
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 -...
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="...
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...
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}=...
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 ...
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 ...
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 ...
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, ...
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 ...
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-...
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 ...
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.
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 ...
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
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 ...
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.)
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>
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 ...
5
votes
adb command not found after installed it
Use this command for adb installation:
apt install android-tools-adb
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
adb × 120android × 61
ubuntu-touch × 20
usb × 19
14.04 × 13
command-line × 9
android-sdk × 9
phone × 8
android-studio × 8
udev × 7
mount × 6
anbox × 5
16.04 × 4
drivers × 4
18.04 × 3
20.04 × 3
software-installation × 3
mtp × 3
nexus-7 × 3
boot × 2
networking × 2
12.04 × 2
apt × 2
package-management × 2
virtualbox × 2