This video will show you how to fix unauthorized device error in adb on any Android devices.
1. Disconnect USB between PC and device.
2. Stop adb server by entering adb kill-server in command window.
3. On PC delete adbkey file in user directory, eg. .android
4. On device use Revoke USB debugging authorizations in Developer Options
5. Reconnect the device to the PC.
6. Check the box on the popup on the device.
7. Open a bash and enter adb devices