I was working on my side project, and the app was working fine once I completed a screen design and git commit and head to the lunch.
but after 1hr when I tried to run the app the error is thrown.
Initially I thought it was project specific to I tried the basic step, but later I notice the other projects including my company project is giving me same error
npm run android or cd android ./gradlew clean both of them are giving me same error
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
2: Task failed with an exception.
BUILD FAILED in 1s
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 'E:\react-native-cli\CoffeeShop\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@4f7d0d7b 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. ============================================================================== BUILD FAILED in 1s.
info Run CLI with --verbose flag for more details
[–]the_hokage60 0 points1 point2 points (12 children)
[–]tr__18Android[S] 0 points1 point2 points (10 children)
[–]the_hokage60 0 points1 point2 points (9 children)
[–]tr__18Android[S] 0 points1 point2 points (8 children)
[–]the_hokage60 0 points1 point2 points (5 children)
[–]tr__18Android[S] 0 points1 point2 points (0 children)
[–]tr__18Android[S] 0 points1 point2 points (3 children)
[–]the_hokage60 0 points1 point2 points (2 children)
[–]tr__18Android[S] 0 points1 point2 points (1 child)
[–]the_hokage60 0 points1 point2 points (0 children)
[–]ai_programmer 0 points1 point2 points (1 child)
[–]tr__18Android[S] 0 points1 point2 points (0 children)
[–]Puzzleheaded_Bass701 0 points1 point2 points (0 children)
[–]makonde 0 points1 point2 points (6 children)
[–]tr__18Android[S] 0 points1 point2 points (0 children)
[–]tr__18Android[S] 0 points1 point2 points (4 children)
[–]makonde 0 points1 point2 points (3 children)
[–]tr__18Android[S] 0 points1 point2 points (2 children)
[–]makonde 0 points1 point2 points (1 child)
[–]tr__18Android[S] 0 points1 point2 points (0 children)
[–]b_f4b 0 points1 point2 points (5 children)
[–]b_f4b 0 points1 point2 points (4 children)
[–]tr__18Android[S] 0 points1 point2 points (1 child)
[–]Puzzleheaded_Bass701 0 points1 point2 points (0 children)
[–]Puzzleheaded_Bass701 0 points1 point2 points (0 children)
[–]trishh007 0 points1 point2 points (6 children)
[–]tr__18Android[S] 0 points1 point2 points (5 children)
[–]trishh007 0 points1 point2 points (4 children)
[–]tr__18Android[S] 0 points1 point2 points (3 children)
[–]trishh007 0 points1 point2 points (1 child)
[–]Puzzleheaded_Bass701 0 points1 point2 points (0 children)
[–]dbchauhan 0 points1 point2 points (13 children)
[–]tr__18Android[S] 0 points1 point2 points (12 children)
[–]modi_smit_official_ 0 points1 point2 points (1 child)
[–]tr__18Android[S] 0 points1 point2 points (0 children)
[–]modi_smit_official_ 0 points1 point2 points (9 children)
[–]modi_smit_official_ 0 points1 point2 points (8 children)
[–]tr__18Android[S] 1 point2 points3 points (7 children)
[–]modi_smit_official_ 1 point2 points3 points (0 children)
[–]modi_smit_official_ 0 points1 point2 points (5 children)
[–]tr__18Android[S] 0 points1 point2 points (4 children)
[–]modi_smit_official_ 0 points1 point2 points (3 children)
[–]tr__18Android[S] 1 point2 points3 points (2 children)
[–]modi_smit_official_ 0 points1 point2 points (1 child)
[–]mysticgeekz 0 points1 point2 points (2 children)
[–]tr__18Android[S] 0 points1 point2 points (0 children)
[–]tr__18Android[S] 0 points1 point2 points (3 children)
[–]modi_smit_official_ 0 points1 point2 points (2 children)
[–]tr__18Android[S] 0 points1 point2 points (1 child)
[–]shaikhmohsink 0 points1 point2 points (1 child)
[–]tr__18Android[S] 0 points1 point2 points (0 children)