When I want to use the android emulator for the first time it needs authorization for USB debugging. But when I turn on the emulator the authorization dialog last for about 300ms and then disappears, and this dialog won't be shown until I restart the emulator again. One time I started to click continuously on the place that I guessed the confirmation button of the dialog will be shown and that time the authorization was successful but I have to do this every time! as I don't have enough time to check "Always trust this computer" in that 300ms. I know it is a weird problem but please help if you have any suggestions.
I use :
android studio 3.2.1
android emulator 28.0.20
HAXM Installer 7.3.2
virtual device android 9.0 (google play)