I'm working on CircleCI, and I'm trying to execute Instrumented Tests for an Android Library with Firebase Test Lab (because Android Virtual Devices are not supported by CircleCI).
My Instrumented Test works like a charm under Android Studio, but when it comes to execute it's under Firebase Test Lab, it struggling!
In fact the main problem is that when I'm compiling my library, I have no APK file in output, but an AAR file instead!
$ ./gradlew assembleDebug
$ ./gradlew assembleDebugAndroidTest
So do you have any suggestion to run Instrumented Test for an Android library with Firebase Test Lab?
Here my commands which doesn't work (generated by fastlane):
$ gcloud firebase test android run \
--type instrumentation \
--app lib/build/outputs/apk/androidTest/debug/lib-debug-androidTest.apk \
--test lib/build/outputs/apk/androidTest/debug/lib-debug-androidTest.apk \
--device model=walleye,version=28,locale=en_US,orientation=portrait \
--timeout 30m
$ gcloud firebase test android run \
--type instrumentation \
--test lib/build/outputs/apk/androidTest/debug/lib-debug-androidTest.apk \
--device model=walleye,version=28,locale=en_US,orientation=portrait \
--timeout 30m