'adb not work in android studio ,'adb' is not recognized as an internal or external command

i try use adb , i put my adb in a PATH environment variable , and i run my app and navigate it to home screen ,adb work in cmd on my computer but it not work in terminal in android studio

in cmd it's work:enter image description here

in terminal android studio:enter image description here

i connect android studio to my device with android 11

in the seconed picture i Mistak in taking a photo it's adb instead ad



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source