Im trying to compile my react-native code using the command yarn android
, but it shows this error on the terminal. Im using Linux Pop!_OS 21.04 and Visual Studio Code.
Unrecognized VM option 'MaxPermSize=2048m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
I've tried some solutions but none of them have worked. Thank you in advance !