Skip to content

Commit

Permalink
chore(): Updated Android SDK version to 35
Browse files Browse the repository at this point in the history
  • Loading branch information
tyllark committed Feb 8, 2025
1 parent c2720d8 commit aad00f3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 22 deletions.
30 changes: 13 additions & 17 deletions .github/composite_actions/launch_android_emulator/dist/main.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions actions/lib/src/android/avd_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import 'package:actions/src/node/process_manager.dart';
import 'package:path/path.dart' as p;
import 'package:retry/retry.dart';

final androidAvdHome = p.join(process.getEnv('HOME')!, '.android', 'avd');
final androidAvdHome =
p.join(process.getEnv('HOME')!, '.config', '.android', 'avd');

final class AvdManager {
AvdManager({
Expand Down Expand Up @@ -65,8 +66,6 @@ final class AvdManager {
}

Future<void> _createEmulator() => core.withGroup('Create emulator', () async {
await ShellScript('''mkdir $androidAvdHome''').run();

final targetImage = 'system-images;android-$apiLevel;$target;$abi';
await _avdmanager(
['--clear-cache', 'create', 'avd', '-n', name, '-k', targetImage],
Expand Down

0 comments on commit aad00f3

Please sign in to comment.