Shell access to real ai drone (ADB)

Hi, I’m trying to access the real drone (ADB) as indicated here: Developer settings - 7.7

I’m getting the error indicated below even after enabling access and entering pub key with FreeFlight7. Is there a solution to the problem?

~$ adb connect anafi-ai.local:9050
daemon not running; starting now at tcp:5037
daemon started successfully
connected to anafi-ai.local:9050
~$ adb shell
error: device unauthorized.
This adb server’s $ADB_VENDOR_KEYS is not set
Try ‘adb kill-server’ if that seems wrong.
Otherwise check for a confirmation dialog on your device.

Make sure you are in the right directory when running the commands. For example make sure your terminal is in the /home/[user]/.android/ directory. Then run adb connect anafi-ai.local:9050 and then adb shell to get connected.

This assumes that you have the shell setting enabled with the public key copied into the FreeFlight7 app.

I hope that helps.
drone_connecting

This topic was automatically closed after 30 days. New replies are no longer allowed.