Issue
I've got a Pixel 2 emulator running Android Q. Whenever I boot the device there's no RSA popup, and no notification that USB Debugging is enabled. Whenever I run adb devices -l
I get the following output:
List of devices attached
emulator-5554 unauthorized transport_id:1
I've tried wiping the emulator and cold booting it, restarting the adb-server and made sure USB Debug is turned on in the emulator itself.
I tried it on both my desktop running Kubuntu 18.10 & my XPS 15 running the same OS. Has anyone found a fix for this?
EDIT:
It worked when I selected a hardware profile without the play services. Problem solved!
Solution
Seems there was an issue with adb tools.
Taken from Android Studio blog: https://androidstudio.googleblog.com/2019/03/emulator-28112-canary-28025-to-beta.html
ADB from platform-tools 28.0.2 can now be safely used with the emulator. If you are experiencing issues with "unauthorized" emulators:
- Exit all emulators
- Delete ~/.android/adbkey and ~/.android/adbkey.pub
- adb kill-server
- adb devices Wipe data of AVD
- Relaunch emulator
Answered By - Marcel
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.