I am developing react-native app and trying to run it on android emulator, which was created in android studio AVD manager.
from the point, where no adb processes are running in system, I am running:
$ adb start-server
$ emulator -avd Nexus_5X_API_27 -port 5555&
Emulator starts successfully, but shows as unauthorized in adb:
$ adb devices
List of devices attached
emulator-5555 unauthorized
I tried to revoke USB settings, restart adb server and restarting of emulator, and settings sdk home path in env, but it didn't helped...
How to make in authorized ?