You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing a build failure when trying to install and run react-native-code-push in my React Native project.
The error occurs while Gradle is resolving dependencies.
[Fatal Error] apkzlib-7.3.1.pom:2:90: The markup in the document following the root element must be well-formed.
[Fatal Error] documentfile-1.0.0.pom:2:90: The markup in the document following the root element must be well-formed.
FAILURE: Build failed with an exception.
What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
Could not resolve all dependencies for configuration ':app:debugCompileClasspath'.
Could not resolve project :react-native-code-push. Required by: project :app
No matching variant of project :react-native-code-push was found.
Steps to Reproduce
Install CodePush in my project:
npm install react-native-code-push
npx pod-install
Run the Android build command:
npx react-native run-android
The build fails with the above Gradle error.
🔧 Environment Details
React Native Version : 0.75.4
react-native-code-push : ^9.0.1
The text was updated successfully, but these errors were encountered:
Hi @AsurNikulTurka,
Thank you for reporting this issue. The probable cause of these errors is corrupted gradle cache. Could you please try to rebuild your android app:
Clean gradle cache for your OS user: rm -rf ~/.gradle/caches
Clean build you android app from android directory of your project: ./gradlew clean cd .. npx react-native run-android
If you are still facing this issues after that, please provide us repository with simple demo application so we could debug the problem.
I am experiencing a build failure when trying to install and run react-native-code-push in my React Native project.
The error occurs while Gradle is resolving dependencies.
[Fatal Error] apkzlib-7.3.1.pom:2:90: The markup in the document following the root element must be well-formed.
[Fatal Error] documentfile-1.0.0.pom:2:90: The markup in the document following the root element must be well-formed.
FAILURE: Build failed with an exception.
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
Steps to Reproduce
Install CodePush in my project:
npm install react-native-code-push
npx pod-install
Run the Android build command:
npx react-native run-android
The build fails with the above Gradle error.
🔧 Environment Details
React Native Version : 0.75.4
react-native-code-push : ^9.0.1
The text was updated successfully, but these errors were encountered: