How to Fix ‘no permissions (user in plugdev group; are your udev rules wrong?)’ Error in Ubuntu

Sometimes, even after enabling developer options in your Android device, you would be unable to run the React Native project in it due to the following ADB error:

no permissions (user in plugdev group; are your udev rules wrong?); see [http://developer.android.com/tools/device.html]

This ADB error is common- if your operating system is Ubuntu. You can see this error when you run abd devices command in terminal. Please do as follow to fix this React Native- ADB error.

  • Connect your device to PC with the developer options and USB debugging enabled.
  • From your device notification panel, change ‘Charge this device’ mode to ‘Transfer Files’ mode.
  • Now, open terminal from the ADB location folder and run adb kill-server command to restart adb server.
  • Now run adb devices and you will see your device connected successfully without errors.

1 thought on “How to Fix ‘no permissions (user in plugdev group; are your udev rules wrong?)’ Error in Ubuntu”

  1. that works on booted devices but it’s showing the same on fastboot too.. it started after i ran the shell script from the official OxygenOS drivers package which connects as a device when the phone is connected.

Leave a Reply

%d bloggers like this: