Emulator not Connecting | com.android.ddmlib.AdbCommandRejectedException: device still authorizing

Problem: Emulator showing offline

Solution:

Run the adb command.

adb command location: C:\Users\<username>\AppData\Local\Android\Sdk\platform-tools>

adb kill-server

adb start-server

* daemon not running; starting now at tcp:5037
* daemon started successfully

Run the project. The emulator should get connected.

Tags: