I am using the following command:
java -jar crawl_launcher.jar --apk-file path/to/my/app.apk --android-sdk path/to/my/android/sdk
I followed the steps mentioned in the https://developer.android.com/training/testing/crawler but it's not even installing the app on the connected device, forget about crawling. Anything that I am missing? I have also referred https://android.jlelse.eu/test-robo-scripts-locally-useful-for-firebase-test-lab-pre-launch-reports-41da83d5769f
./gradlew connected<YourBuildFlavor>AndroidTest
should do that. Then run the crawler. – SlackerconnectedAndroidTest
(if no flavors are defined will generate and install the instrumentation apk). After that is done, then you can run the crawler. – Slacker