Hello !! I am getting an error message in my react...
# community-support
m
Hello !! I am getting an error message in my react native project it is related to gradle. Please help me - error message is as follows -
Copy code
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Settings file 'D:\Muskan\React Native\GoogleMaps\android\settings.gradle' line: 2

* What went wrong:
Error resolving plugin [id: 'com.facebook.react.settings']
> A problem occurred configuring project ':gradle-plugin:react-native-gradle-plugin'.
   > java.util.zip.ZipException: zip END header not found

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Failed to query the value of property 'buildFlowServiceProperty'.
> Could not isolate value org.jetbrains.kotlin.gradle.plugin.statistics.BuildFlowService$Parameters_Decorated@26ad70f4 of type BuildFlowService.Parameters
   > A problem occurred configuring project ':gradle-plugin:react-native-gradle-plugin'.
      > java.util.zip.ZipException: zip END header not found

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.
==============================================================================
v
You are in India, correct?
m
yes
v
Your ministry of electronics has caused the Kotlin Gradle Plugin URLs of 1.9.24 to be blocked. This causes the "this is blocked" HTML page to be downloaded as jar file as the blocking is not accompanied with an according HTTP status response, which can then not be read by Gradle as jar file of course. Update KGP version to 1.9.25 and it should work. (Until they block that too eventually) And please do a minimal research before asking questions. Not doing so is one of the main characteristics of a help vampire. ;-) There are multiple threads about this problem here, on the forum, and on GitHub.