Resolving the " ProcessException: Process "C:\projeYolu\android\gradlew.batException in thread "main" java.lang.NullPointerException " Error In Flutter.

#FLUTTER #GRADLE
Resolving the " ProcessException: Process "C:\projeYolu\android\gradlew.batException in thread "main" java.lang.NullPointerException " Error In Flutter.
I will describe the solution to the error below when we want to compile a project on Flutter.
ProcessException: Process "C:\projeYolu\android\gradlew.batException in thread "main" java.lang.NullPointerExceptionat org.gradle.wrapper.BootstrapMainStarter.findLauncherJar(BootstrapMainStarter.java:34)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:25)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Command: C:\projeYolu\android\gradlew.bat -vThe error mentioned above is an error related to the gradle version. The solution to this error is quite simple. The process to be done to implement this solution is as follows.
The relevant file will be opened by opening the project directory and following the path "/android/gradle/wrapper/gradle-wrapper.properties". The following changes will be made in this file.
Previous: distributionUrl = https\://services.gradle.org/distributions/gradle-4.10.2-all.zip Next: distributionUrl = distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip The project will run smoothly after the specified change has been made.