Hello,
I am trying to include the "clearPackageData=true" on the gradlew command below:
./gradlew app:connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.clearPackageData=true -Pandroid.testInstrumentationRunnerArguments.class=com.yourpackage.TestClass
Should that work? Because it doesn't seem to be working for me.
Thanks.