RobotiumTech / robotium

Android UI Testing
http://www.robotium.org
Apache License 2.0
2.86k stars 786 forks source link

Taking Screenshot does not work on android M #779

Closed daber closed 9 years ago

daber commented 9 years ago

Tested on Android emulator x86 running Android 23 with google API. Tested on Nexus 5 Running 6.0 build MAP44I

Solo.takeScreenshot() - does not capture anything.

On Android 5 works correctly

renas commented 9 years ago

Thanks for reporting this.

renas commented 9 years ago

We are able to reproduce this issue. Working on a fix.

szprutamich commented 9 years ago

Is it related to emulator, x86 or generally android 6.0?

renas commented 9 years ago

It's due to Android 6.0, a fix has been pushed.

renas commented 9 years ago

This has been fixed in Robotium 5.5.1