Gradle gives an error message regarding kotlin plugin for FLUTTER apps

I created via Android Studio an application based on Flutter Framework. It is just a simple application. I did not add anything. I just created and then tried to run it.
However, I am facing an error regarding kotlin plugin when I start running the application:

  • Error running Gradle:
    ProcessException: Process “C:\Users\AndroidStudioProjects\flutter_app\android\gradlew.bat” exited abnormally:

Configure project :app

Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.

FAILURE: Build failed with an exception.

  • Where:
    Build file ‘C:\Users\KAA1WA3\AndroidStudioProjects\flutter_app\android\app\build.gradle’ line: 25

  • What went wrong:
    A problem occurred evaluating project ‘:app’.

Could not resolve all artifacts for configuration ‘classpath’.
Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.71.
Command: C:\Users\KAA1WA3\AndroidStudioProjects\flutter_app\android\gradlew.bat app:properties

My build.gradle file:

The same error is received also for another application based on Ionic Framework.
Thank you in advance. If you need more info, please inform me.