Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Flutter Debug - Device Not Authorized [duplicate]

Trying to debug my Flutter App in my Android (Asus zenfone 3 max) without success.

Trying to find the problem, I ran the command:

flutter doctor

Output:

[!] Connected devices

! Doctor found issues in 1 category.

Too see more details:

flutter devices

Device H1AXB600S423ZP4 is not authorized.

You might need to check your device for an authorization dialog.

Considerations:

  • The debugger menu is enabled.
  • Debugging USB is enabled too.
  • The android is configured to transfer files (USB mode)
  • Using Intellij IDEA
like image 295
João Mantovani Avatar asked May 17 '18 12:05

João Mantovani


2 Answers

On your device, go to Developer options-->Revoke USB Debugging and Disconnect your device. After reconnecting, you will get a RSA Fingerprint verification window, click on accept. Done..

like image 93
Mohammed Alukkal Avatar answered Sep 16 '22 17:09

Mohammed Alukkal


According to Eefret - on Stack OverFlow, it's was a problem with the certificate dialog on Android device at the moment of the connect

The problem on Intellij was the same of the Android Studio, and this question fixed the problem:

Android Studio - ADB Error - "...device unauthorized. Please check the confirmation dialog on your device."

like image 34
João Mantovani Avatar answered Sep 18 '22 17:09

João Mantovani