Failed to capture screenshot on Android emulator on Mac

When I try to capture a screenshot on the emulator (API 23 and 24) of Android Studio v2.2.2, I get this error:

Screenshot not possible. Check the settings to make sure the adb path you select is valid.

So, I clicked "Advanced Settings"> "Settings" tab and the " Use detected ADB location " switch is on.

What am I missing here?

Edit:

After switching " Use detected ADB location " to disable and manually skip the path to this API level addon, it started working. So, now the question arises, why the "Use detected ADB location" option in Android Studio emulators does not work on OSX?

+4
source share
1 answer

In my experience, the "USB debugging" setting is disabled.

Application Settings> "Developer Options"> enable "USB Debugging"

If you don’t see "Developer options", you can enable it by clicking the "Create number" field several times in the "About the emulator device" section.

0

Source: https://habr.com/ru/post/1660401/


All Articles