React Native build of the app

0

When creating a react native project and try to execute it with the * react-native run-android * command this error appears, it does not matter if it is direct on the physical device or the AVD.

I have already created several projects and the build fails every time

I've also tried to compile the app directly through * gradlew assembleDebug *, the error also appears.

I think it's related to the gradle but I could not solve it

    
asked by anonymous 02.01.2018 / 15:18

1 answer

1

When I opened the project in Android Studio it updated the Gradle to last version, this caused the error, I just found out that it is only not to accept when suggesting the update from 3.1 to 4.1 that is all right Many thanks to all who were willing to help

    
02.01.2018 / 17:15