Closed hiftikha closed 1 year ago
Looks like the build failures for Android was due to the publish of the React Native version 0.71.0-rc0
Adding this under to project level build.gradle
file resolved the issue for me:
repositories {
exclusiveContent {
filter {
includeGroup "com.facebook.react"
}
forRepository {
maven {
url "$rootDir/../node_modules/react-native/android"
}
}
}
}
}
I am unable to build the Sample app on Android after running the script
initReactNativeSampleApp.sh
to download all dependencies. The command I am using isyarn react-native run-android
`FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:mergeDebugAssets'.