【发布时间】:2021-10-11 15:01:04
【问题描述】:
我正在尝试使用命令 yarn android 编译我的 react-native 代码,但它在终端上显示此错误。我正在使用 Linux Pop!_OS 21.04 和 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.
我尝试了一些解决方案,但都没有奏效。提前谢谢你!
【问题讨论】:
-
那是我用过的,我仍然有同样的错误
标签: android react-native jvm