anchor.diff:      );
   
       // Test with valid SDK but invalid build tools
  -    when(mockSdkVersion.sdkLevel).thenReturn(29);
  -    when(mockSdkVersion.buildToolsVersion).thenReturn(Version(28, 0, 2));
  +    sdkVersion.sdkLevel = 29;
  +    sdkVersion.buildToolsVersion = Version(28, 0, 2);
   
       validationResult = await androidValidator.validate();
       expect(validationResult.type, ValidationType.missing);
  
positive.code: import 'package:file/memory.dart';
  import 'package:flutter_tools/src/android/android_sdk.dart';
  import 'package:flutter_tools/src/android/android_workflow.dart';
  import 'package:flutter_tools/src/base/io.dart';
  import 'package:flutter_tools/src/base/logger.dart';
  import 'package:flutter_tools/src/base/os.dart';
  import 'package:flutter_tools/src/base/platform.dart';
  import 'package:flutter_tools/src/base/user_messages.dart';
  import 'package:flutter_tools/src/base/version.dart';
  import 'package:flutter_tools/src/doctor_validator.dart';
  import 'package:mockito/mockito.dart';
  
  import '../../src/common.dart';
  import '../../src/fakes.dart';
  import '../../src/mocks.dart' show MockAndroidSdk, MockProcessManager;
  
  class MockAndroidSdkVersion extends Mock implements AndroidSdkVersion {}
  
  void main() {
    AndroidSdk sdk;
    Logger logger;
    MemoryFileSystem fileSystem;
    MockProcessManager processManager;
    FakeStdio stdio;
  
    setUp(() {
      sdk = MockAndroidSdk();
      fileSystem = MemoryFileSystem.test();
      fileSystem.directory('/home/me').createSync(recursive: true);
      logger = BufferLogger.test();
      processManager = MockProcessManager();
      stdio = FakeStdio();
    });
  
    FakeProcess Function(List<String>) processMetaFactory(List<String> stdout) {
      final Stream<List<int>> stdoutStream = Stream<List<int>>.fromIterable(
          stdout.map<List<int>>((String s) => s.codeUnits));
      return (List<String> command) => FakeProcess(stdout: stdoutStream);
    }
  
    testWithoutContext('AndroidWorkflow handles a null AndroidSDK', () {
      final AndroidWorkflow androidWorkflow = AndroidWorkflow(
  
negative.code: 
    // Android Studio is not currently supported on Linux Arm64 hosts.
    testWithoutContext('Not supported AndroidStudio on Linux Arm Hosts', () {
      final FakeAndroidSdk androidSdk = FakeAndroidSdk();
      androidSdk.adbPath = null;
      final AndroidWorkflow androidWorkflow = AndroidWorkflow(
        featureFlags: TestFeatureFlags(),
        androidSdk: androidSdk,
  