android-jetpack-composeandroid-instrumentationfirebase-test-labgui-testing

How to build Test APK for Firebase Test Lab


Firebase Test Lab asks to upload two APKs:

  1. App APK
  2. Test APK

How to build test APK?


Solution

  • Run: ./gradlew assembleDebugAndroidTest

    The Test APK will be built in: app/build/outputs/apk/androidTest/<flavor>/debug/app-<flavor>-debug-androidTest.apk