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
This ADB error is common- if your operating system is Ubuntu. You can see this error when you run
- 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 restartadb server. - Now run
adb devices and you will see your device connected successfully without errors.
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.