React Native app not built without doing any changes!
            Asked
            
        
        
            Active
            
        
            Viewed 36 times
        
    -1
            
            
        - 
                    1Does 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 Answers
0
            
            
        Do these changes
- 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"
       }
   }
}
 
    
    
        KAUSHAL J. SATHWARA
        
- 994
- 9
- 15