-1

React Native app not built without doing any changes!

  • 1
    Does this answer your question? [Android Build Failure: Common Issue- Failed to install the app. Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081](https://stackoverflow.com/questions/74334162/android-build-failure-common-issue-failed-to-install-the-app-error-command-f) – Thanhal P A Nov 08 '22 at 07:17
  • welcome to stackoverflow, please read https://stackoverflow.com/help/how-to-ask – Michal Miky Jankovský Nov 11 '22 at 21:18

1 Answers1

0

Do these changes

  1. android\build.gradle under allproject->repositories Just before maven

Add this

exclusiveContent {
   filter {
       includeGroup "com.facebook.react"
   }
   forRepository {
       maven {         
          url "$rootDir/../node_modules/react-native/android"
       }
   }
}