# Android Library UI Tests & Firebase Test Lab

DevFeed: [Android Library UI Tests & Firebase Test Lab](<https://devfeed.tech/articles/android-library-ui-tests-firebase-test-lab-27438.md>)

Original publisher: [Read original article](<https://jdvp.me/articles/Test-Lab-For-Android-Libraries>)

Author: JD Porterfield (jd.porterfield@alumni.rice.edu)

Published: 2021-09-06T00:00:00Z

Content type: tutorial

Language: en

Sources: [JD Porterfield | Articles](<https://devfeed.tech/sources/jd-porterfield-articles.md>)

Topics: [Firebase](<https://devfeed.tech/topics/firebase.md>), [Android Library](<https://devfeed.tech/topics/android-library.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [ui-testing](<https://devfeed.tech/topics/ui-testing.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-library](<https://devfeed.tech/tags/android-library.md>), [apk](<https://devfeed.tech/tags/apk.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [test-lab](<https://devfeed.tech/tags/test-lab.md>), [testing](<https://devfeed.tech/tags/testing.md>), [ui](<https://devfeed.tech/tags/ui.md>)

## AI overview

This tutorial explains how to run Android library module UI tests with Firebase Test Lab. Because Test Lab requires separate test and application APKs with different package names, it presents a method for building the androidTest APK twice with different package names.

## Source excerpt

Firebase Test Lab generally requires 2 .apk files for testing, how can we test library module UI tests in Test Lab?