I've both ejected an app I am working on, and created a new app through react-native init
and for both apps, whenever I run react-native run-android
I get the following error.
Does anyone know what the issue might be? I am developing on a mac.
Okay, so I finally know what was going wrong. I was using the new exponentiation operator (**), but for some reason, doesn't work well with react-native and Android. Check if you're using it and replace it with classic Math.pow()
. Worked for me.
Source: https://github.com/facebook/react-native/issues/8290#issuecomment-315491051
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