When trying to capture a screenshot on the emulator (API level 23 and 24) of Android Studio v2.2.2 I get this error:
The screenshot could not be captured. Check settings to verify that
your chosen adb path is valid.
So I clicked "Extended settings " > "Settings" tab and the "Use detected ADB location" toggle is turned on.
What am I missing here?
After switching the "Use detected ADB location" toggle OFF and manually sething the path to that API level adb it started working. So the question now is why the "Use detected ADB location" setting in the Android Studio emulators is not working on OSX?