start static method

Future<void> start()

Implementation

static Future<void> start() async {
  print("Running for android");

  if (!await File(PATH_BUILD_GRADLE).exists() ||
      !await File(PATH_APP_BUILD_GRADLE).exists()) {
    print(
        'ERROR:: build.gradle file not found. Check if you have a correct android directory present in your project.'
        '\n\nRun "flutter create ." to regenerate missing files.');
    return;
  }

  await _updateProjectBuildGradle();
  await _updateAppBuildGradle();

  print('Finished updating android build.gradle files.');
}