no permissions (user in plugdev group; are your udev rules wrong?)

The best solution and what worked better for me is to install adb from the ubuntu package. This gives you a community-maintained default set of udev rules for all Android devices.

example:

 sudo apt-get install adb

Error 1 retrieving device properties for ro.product.cpu.abi: error: insufficient permissions for device: user deepanshu is not in the plugdev group See [http://developer.android.com/tools/device.html] for more information

This Error may be changed when you change your USB mode from "Charge Only" to "Files". Thank you.


With my Pixel phone plug into the computer, in the notification shade, I changed it from USB "Charge this phone" to "PTP" (Picture Transfer Protocol).

I then ran flutter doctor and my Pixel asked me to "Allow USB debugging" for my computer, I ticked the box to "Always allow from this computer".

I found the solution via https://github.com/flutter/flutter/issues/10330, which pointed to another Stack Overflow post.


change the usb connection options to PTP. That worked for me.