A problem occurred '
gradle pluginreact-native-gradle-plugin'. java.util.zip.ZipException: zip END header not found
New
Asked by A 1421 3 mins ago |
npx react-native run-android info Installing the app...
info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit:
https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
Where: Settings file 'D:\app4\AwesomeProject\android\settings.gradle' line: 2
What went wrong: Error resolving plugin [id: 'com.facebook.react.settings']
A problem occurred configuring project '
gradle pluginreact-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@5a0eb741 of type BuildFlowService.Parameters A problem occurred configuring project '
gradle pluginreact-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. ==============================================================================
BUILD FAILED in 4s error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build completed with 2 failures. 1: Task failed with an exception. ----------- * Where: Settings file 'D:\app4\AwesomeProject\android\settings.gradle' line: 2 * What went wrong: Error resolving plugin [id: 'com.facebook.react.settings'] > A problem occurred configuring project '
gradle pluginreact-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@5a0eb741 of type BuildFlowService.Parameters > A problem occurred configuring project '
gradle pluginreact-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. ============================================================================== BUILD FAILED in 4s. info Run CLI with --verbose flag for more details.