# Android test fails due to emulator (slow performance?)

**URL:** <https://discuss.bitrise.io/t/android-test-fails-due-to-emulator-slow-performance/14853>\
**Category:** Builds\
**Created:** [November 14, 2020, 12:51am UTC](https://discuss.bitrise.io/t/android-test-fails-due-to-emulator-slow-performance/14853 "2020-11-14T00:51:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![angelodgreat](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@angelodgreat](https://discuss.bitrise.io/u/angelodgreat)\
**Post date:** [November 14, 2020, 12:51am UTC](https://discuss.bitrise.io/t/android-test-fails-due-to-emulator-slow-performance/14853/1 "2020-11-14T00:51:43Z")

</div>

Waited for the root of the view hierarchy to have window focus and not request layout for 10 seconds. If you specified a non default root matcher, it may be picking a root that never takes focus.

When doing screenshot it randomly fails due to emulator, i’ve also looked into your device testing device but there’s no configuration on how to use it with detox

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [December 14, 2020, 12:53am UTC](https://discuss.bitrise.io/t/android-test-fails-due-to-emulator-slow-performance/14853/2 "2020-12-14T00:53:57Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
