I updated my mac Android studio to version "Electric Eel"
When I just try to generate the APK using "Build APK" option, then it automatically starts running the test cases, which is unnecessarily causing me further issues and slowing down the process.
"I want to know if there is any option available, where I can disable running the test cases while just building the APK.?"
PS:
- I have explored it at many places but not getting exact option to configure it.
- I am only able to generate the APK using command
./gradlew assemblePreProdDebug
(PreProd
is flavour), it works without the test cases being executed. - When I select the device and run the build, it works fine, it runs without the test cases being executed.
You can use gradle panel to launch the task you want.
In order to make your build task appear you will have to:
Then you should be able to see the assemble tasks in the gradle side panel.