I am working on a React Native project and encountering a build failure when running the Android build command. The error message is as follows:
FAILURE: Build completed with 2 failures.
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
Where:
Settings file 'D:\Project\Git Project\ReactNative\projectname\reactnativeapp\android\settings.gradle' line: 2What 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
I am working on a React Native project and encountering a build failure when running the Android build command. The error message is as follows:
FAILURE: Build completed with 2 failures.
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
Where:
Settings file 'D:\Project\Git Project\ReactNative\projectname\reactnativeapp\android\settings.gradle' line: 2What went wrong:
Error resolving plugin [id: 'com.facebook.react.settings']
Share Improve this question asked Feb 5 at 5:41 Irfanali SaiyadIrfanali Saiyad 291 silver badge4 bronze badgesA problem occurred configuring project ':gradle-plugin:react-native-gradle-plugin'.
java.util.zip.ZipException: zip END header not found
1 Answer
Reset to default 0UPGRADE react-native
package to 0.77.0