Mainly you need to delete duplicate adb.exe file. You can use Everything to Find.
keep the platform-tools adb.exe
and add the platform-tools directory to your Environment Path Variable.
I am using Memu Emulator.
So, I have taken these steps:
Go to Memu Installation Directory: (In My Case D:\Program Files\Microvirt\MEmu)
And then Delete the adb.exe file.
It should work fine for you.