Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adb cant connect with a no auth error #15

Open
chenjianquan7 opened this issue Nov 21, 2022 · 1 comment
Open

adb cant connect with a no auth error #15

chenjianquan7 opened this issue Nov 21, 2022 · 1 comment

Comments

@chenjianquan7
Copy link

chenjianquan7 commented Nov 21, 2022

when i connect adb ,i return me a error ,no auth
how cound i connect adb,thank you

@froggyn
Copy link

froggyn commented Dec 28, 2024

You need to set up the android adb key from your client on the emulator
On your machine

  1. Copy what is in .andoird/adbkey.pub (On your host/clientmachine)
    (Note on Windows it would be C:\Users\${USER}\.android\adbkey.pub)

Inside the Emulator
2. Paste the key from above into /data/misc/adb/adb_keys
3. Run chmod 0644 /data/misc/adb/adb_keys to change permissions for the file
4. If you havent already restart the adb daemon (by Ctrl+C the existing process and running adbd) on the emulator

You should be good to go
See: https://old.reddit.com/r/BlissOS/comments/tkddmn/adbovertcp_failed_to_authenticate/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants