class AndroidSdkPreSyncCheck extends AndroidStudioSyncCheck {

  @Override
  @NotNull
  PreSyncCheckResult doCheckCanSyncAndTryToFix(@NotNull Project project) {
    try {
      mySdkSync.syncIdeAndProjectAndroidSdks(project);
      return SUCCESS;
    }
    catch (Throwable e) {
      String msg = "Failed to sync SDKs";
      return failure(msg);
    }
  }

    AndroidSdkPreSyncCheck();
  @VisibleForTesting  AndroidSdkPreSyncCheck(@NotNull SdkSync sdkSync);

}