Skip to content

Commit ff0e634

Browse files
authored
chore(actions): android emulator to start with clear cache and data (#5245)
1 parent 88ac695 commit ff0e634

File tree

13 files changed

+35
-34
lines changed

13 files changed

+35
-34
lines changed

.github/composite_actions/launch_android_emulator/dist/index.mjs

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/composite_actions/launch_android_emulator/dist/main.cjs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/composite_actions/launch_android_emulator/dist/main.cjs.map

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/composite_actions/launch_ios_simulator/dist/index.mjs

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/composite_actions/launch_ios_simulator/dist/main.cjs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/composite_actions/launch_ios_simulator/dist/main.cjs.map

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/composite_actions/log_cw_metric/dist/index.mjs

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/composite_actions/log_cw_metric/dist/main.cjs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/composite_actions/log_cw_metric/dist/main.cjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/composite_actions/setup_chromedriver/dist/index.mjs

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/composite_actions/setup_chromedriver/dist/main.cjs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/composite_actions/setup_chromedriver/dist/main.cjs.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

actions/lib/src/android/avd_manager.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ final class AvdManager {
6767
Future<void> _createEmulator() => core.withGroup('Create emulator', () async {
6868
final targetImage = 'system-images;android-$apiLevel;$target;$abi';
6969
await _avdmanager(
70-
['create', 'avd', '-n', name, '-k', targetImage],
70+
['--clear-cache', 'create', 'avd', '-n', name, '-k', targetImage],
7171
stdinCmd: 'echo n',
7272
);
7373
});
@@ -83,6 +83,7 @@ final class AvdManager {
8383
'-restart-when-stalled',
8484
'-accel', 'on', // Fail if HW accel is unavailable
8585
'-no-snapshot',
86+
'-wipe-data',
8687
'-verbose',
8788
];
8889
final emulator = await processManager.start(

0 commit comments

Comments
 (0)