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
adbkill-server command to restart adbserver.
- Now run
adbdevices and you will see your device connected successfully without errors.