# Android UI Test

**URL:** <https://discuss.bitrise.io/t/android-ui-test/16523>\
**Category:** Tooling Issues\
**Created:** [April 15, 2021, 9:33am UTC](https://discuss.bitrise.io/t/android-ui-test/16523 "2021-04-15T09:33:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![g.metaxakis](https://avatars.discourse-cdn.com/v4/letter/g/a88e4f/32.png) [@g.metaxakis](https://discuss.bitrise.io/u/g.metaxakis)\
**Post date:** [April 15, 2021, 9:33am UTC](https://discuss.bitrise.io/t/android-ui-test/16523/1 "2021-04-15T09:33:50Z")

</div>

I am trying to create a workflow with the `virtual-device-testing-for-android` but I cannot make it work.  
Amy clue what I am missing?

```auto
ui_test:
    steps:
    - cache-pull@2.5:
        inputs:
        - is_debug_mode: 'true'
    - gradle-runner@1:
        inputs:
        - gradle_task: ":app:assembleAndroidTest"
    - gradle-runner@1:
        inputs:
        - gradle_task: ":app:assemble"
    - sign-apk@1:
        inputs:
        - verbose_log: 'true'
        - android_app: "$BITRISE_APK_PATH"
    - virtual-device-testing-for-android@1.1:
        inputs:
        - inst_test_runner_class: androidx.test.runner.AndroidJUnitRunner
        - inst_use_orchestrator: 'true'
        - test_devices: Nexus9,25,en,portrait
        - test_type: instrumentation
    - cache-push@2.5:
        is_always_run: true

```

```auto
Waiting for test results
- Validating
- (1/1) running
- (0/1) running
=> Test finished
Test results:
Model API Level Locale Orientation Outcome              
Nexus9 25 en portrait failure   
| |
+---+---------------------------------------------------------------+----------+
| x | virtual-device-testing-for-android@1.1 (exit code: 1) | 4.8 min |
+---+---------------------------------------------------------------+----------+
| Issue tracker: ...se-steplib/steps-virtual-device-testing-for-android/issues |
| Source: ...thub.com/bitrise-steplib/steps-virtual-device-testing-for-android |
+---+---------------------------------------------------------------+----------+

```

And when I navigate to the Test Reports I see only a 4sec video with the setting of the device, our app doesn’t start

---

<div class="post-metadata">

**Author:** ![Roland-Bak](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/roland-bak/32/3480_2.png) [@Roland-Bak](https://discuss.bitrise.io/u/Roland-Bak)\
**Post date:** [May 4, 2021, 2:27pm UTC](https://discuss.bitrise.io/t/android-ui-test/16523/2 "2021-05-04T14:27:26Z")

</div>

Hello there @g.metaxakis 👋

Can you please send us the log file or the URL of the related build and also enable Support Access on the `Settings` tab of the app ( [Enabling the Bitrise Support user for your app | Bitrise DevCenter](https://devcenter.bitrise.io/troubleshooting/enabling-bitrise-support-user/) ) so that we can take a more in-depth look? 🙂

---

<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:** [June 3, 2021, 2:27pm UTC](https://discuss.bitrise.io/t/android-ui-test/16523/3 "2021-06-03T14:27:30Z")

</div>

Closed on June 3, 2021, 2:27pm UTC

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