build failed with an exception react native code example
Example: FAILURE: Build failed with an exception react native android
//First
npm uninstall react-native-device-info
//Last
npm install --save react-native-device-info
//First
npm uninstall react-native-device-info
//Last
npm install --save react-native-device-info