For any individual who is as yet running into this issue. I had a comparable issue where I could see my gadget from adb on the order line utilizing
adb gadgets
however Android Studio would not perceive when I had a gadget appended and would toss all things considered:
Unable to locate adb within SDK
or
Unable to obtain result of 'adb version'
I had attempted beginning/stops of adb, uninstalls, of stage instruments, and the sky is the limit from there. What I found was that inside my C:\Users\<UserName>\AppData\Local\Android organizer I had different sdk envelopes. I played out the following:
1. Unistall Platform-Tools using Android Studio's SDK Manager
2. Deleted all
platform-tools\
directories within each
C:\Users\<UserName>\AppData\Local\Android\sdk
directory
3. Reinstalled Platform-Tools using Android Studio's SDK Manager
Expect this benefits someone with their problem