Error occurred during initialization of VM 错误的解决方法
Posted sq19920518
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error occurred during initialization of VM 错误的解决方法相关的知识,希望对你有一定的参考价值。
解决办法:
1 定位到目录 C:\\Users\\.gradle
2 创建文件gradle.properties
内容:org.gradle.jvmargs=-Xmx512m
3 重启你的android Studio项目,搞定。
会发现出现两个gradle.properties文件,一个是属于该工程中的,一个是属于全局的,即刚才所创建的。
关于Eclipse中出现该类问题,可以参考博客:http://blog.csdn.net/maojudong/article/details/4552728
以上是关于Error occurred during initialization of VM 错误的解决方法的主要内容,如果未能解决你的问题,请参考以下文章
!MESSAGE Error occurred during status handling
解决ubuntu下error occurred during the signature verification
an error occurred during the file system check错误的解决
TestNG运作报错An interanl error occurred during:"Launching first"
用Eclipse运行Java文件报错Error occurred during initialization of boot layer
Error occurred during initialization of VM java/lang/NoClassDefFoundError