0

I have used Flamingo for some time, and after playing an Espresso test, the app was still installed.

Then I upgraded to Giraffe, and now, after playing an Espresso test, the app is uninstalled. I did not changed my project, just upgraded Android studio. Any idea of what can be done so that the app is not uninstalled in this case?

Note: after running the app itself, it is not uninstalled.

Laurent D.
  • 449
  • 4
  • 19
  • I have created a new minimal app from scratch with Android Studio Giraffe, and it is the same behavior : the app is uninstalled just after the instrumented test (Espresso) is finished. How can it be changed? – Laurent D. Aug 18 '23 at 05:27

1 Answers1

0

After more tests and searches, I finally found that the change is in the Android Gradle Plugin.

  • Version 7.4.2 : apks are not removed
  • version 8.1: apks are removed

there is an issu tracker : https://issuetracker.google.com/issues/295039976

Laurent D.
  • 449
  • 4
  • 19