Skip to content Skip to sidebar Skip to footer

React Native Fresh Build Error On Compiling To Android Device

I recently build fresh app using react-native init. After run react-native run-android I got this error: FAILURE: Build failed with an exception. * What went wrong: Execution fai

Solution 1:

Had the same issue, and after a lot of troubleshooting I found out that the android project was corrupted. Here's how I fixed mine:

From project folder:

  1. rm -rf android
  2. react-native upgrade

Note: just running react-native upgrade without deleting the android folder does not seem to work.


Post a Comment for "React Native Fresh Build Error On Compiling To Android Device"