While running the react-native android app using android studio I am getting this error:
Execution failed for task ':app:bundleReleaseJsAndAssets'.
> Process 'command 'node'' finished with non-zero exit value 1
I tried cleaning up the android project in android studio and also tried commands like:
gradlew --stop
to stop the already running daemons but nothing worked.
Update the Java Runtime for Gradle in Android Studio Settings.
This worked for me.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With