Wipe data before starting AVD

Bug: https://github.com/flutter/flutter/issues/90401
Change-Id: If571cf08379ff304c6987fab19ca345752898b29
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/30888
Reviewed-by: Dan Field <dnfield@google.com>
diff --git a/recipe_modules/android_virtual_device/api.py b/recipe_modules/android_virtual_device/api.py
index 10a2309..3ce1ed4 100644
--- a/recipe_modules/android_virtual_device/api.py
+++ b/recipe_modules/android_virtual_device/api.py
@@ -68,7 +68,7 @@
         )
         output = self.m.step(
             'Start Android emulator (API level %s)' % self.version,
-            ['python', avd_script_path, 'start', '--no-read-only', '--writable-system', '--debug-tags', 'all', '--avd-config', avd_config],
+            ['python', avd_script_path, 'start', '--no-read-only', '--wipe-data', '--writable-system', '--debug-tags', 'all', '--avd-config', avd_config],
             stdout=self.m.raw_io.output_text(add_output_log=True)
         ).stdout
 
diff --git a/recipe_modules/android_virtual_device/examples/full.expected/demo zombie processes.json b/recipe_modules/android_virtual_device/examples/full.expected/demo zombie processes.json
index 1ed17b8..8bbb5d5 100644
--- a/recipe_modules/android_virtual_device/examples/full.expected/demo zombie processes.json
+++ b/recipe_modules/android_virtual_device/examples/full.expected/demo zombie processes.json
@@ -101,6 +101,7 @@
       "[CACHE]/builder/avd/src/tools/android/avd/avd.py",
       "start",
       "--no-read-only",
+      "--wipe-data",
       "--writable-system",
       "--debug-tags",
       "all",
diff --git a/recipe_modules/android_virtual_device/examples/full.expected/demo.json b/recipe_modules/android_virtual_device/examples/full.expected/demo.json
index 917f151..1f1d857 100644
--- a/recipe_modules/android_virtual_device/examples/full.expected/demo.json
+++ b/recipe_modules/android_virtual_device/examples/full.expected/demo.json
@@ -101,6 +101,7 @@
       "[CACHE]/builder/avd/src/tools/android/avd/avd.py",
       "start",
       "--no-read-only",
+      "--wipe-data",
       "--writable-system",
       "--debug-tags",
       "all",
diff --git a/recipes/engine/scenarios.expected/without_failure_upload.json b/recipes/engine/scenarios.expected/without_failure_upload.json
index 5ac80e2..14c25f0 100644
--- a/recipes/engine/scenarios.expected/without_failure_upload.json
+++ b/recipes/engine/scenarios.expected/without_failure_upload.json
@@ -273,6 +273,7 @@
       "[CACHE]/avd/src/tools/android/avd/avd.py",
       "start",
       "--no-read-only",
+      "--wipe-data",
       "--writable-system",
       "--debug-tags",
       "all",
diff --git a/recipes/flutter/android_views.expected/flutter_drive_clean_exit.json b/recipes/flutter/android_views.expected/flutter_drive_clean_exit.json
index ae58f22..9454a62 100644
--- a/recipes/flutter/android_views.expected/flutter_drive_clean_exit.json
+++ b/recipes/flutter/android_views.expected/flutter_drive_clean_exit.json
@@ -341,6 +341,7 @@
       "[CACHE]/avd/src/tools/android/avd/avd.py",
       "start",
       "--no-read-only",
+      "--wipe-data",
       "--writable-system",
       "--debug-tags",
       "all",
diff --git a/recipes/flutter/android_views.expected/flutter_drive_zombie_process.json b/recipes/flutter/android_views.expected/flutter_drive_zombie_process.json
index 2906ad3..ccd87e1 100644
--- a/recipes/flutter/android_views.expected/flutter_drive_zombie_process.json
+++ b/recipes/flutter/android_views.expected/flutter_drive_zombie_process.json
@@ -341,6 +341,7 @@
       "[CACHE]/avd/src/tools/android/avd/avd.py",
       "start",
       "--no-read-only",
+      "--wipe-data",
       "--writable-system",
       "--debug-tags",
       "all",
diff --git a/recipes/flutter/deferred_components.expected/flutter_release_clean_exit.json b/recipes/flutter/deferred_components.expected/flutter_release_clean_exit.json
index 5967e8a..e7a8736 100644
--- a/recipes/flutter/deferred_components.expected/flutter_release_clean_exit.json
+++ b/recipes/flutter/deferred_components.expected/flutter_release_clean_exit.json
@@ -341,6 +341,7 @@
       "[CACHE]/avd/src/tools/android/avd/avd.py",
       "start",
       "--no-read-only",
+      "--wipe-data",
       "--writable-system",
       "--debug-tags",
       "all",
diff --git a/recipes/flutter/deferred_components.expected/flutter_release_zombie_process.json b/recipes/flutter/deferred_components.expected/flutter_release_zombie_process.json
index a4a19e1..a485eeb 100644
--- a/recipes/flutter/deferred_components.expected/flutter_release_zombie_process.json
+++ b/recipes/flutter/deferred_components.expected/flutter_release_zombie_process.json
@@ -341,6 +341,7 @@
       "[CACHE]/avd/src/tools/android/avd/avd.py",
       "start",
       "--no-read-only",
+      "--wipe-data",
       "--writable-system",
       "--debug-tags",
       "all",