Android Studio首次安装出现错误之:CreateProcess error=216

原来一直用公司64位电脑工作,今天把自己的笔记本也装了Android Studio,全部配置完成后,新建一个项目出来了


“ CreateProcess error=216, 该版本的 %1 与您运行的 Windows 版本不兼容。


 才突然发现原来自己的笔记本是32位的,估计很多新手可能会遇到这个问题,所以在此记录。


错误原因:

原来是AS自带的JDK为64位,系统是32位,所以版本不兼容。


解决方法:

安装32位JDk并修改AS配置。


32位JDK下载链接:http://pan.baidu.com/s/1eSaIkDG

 File-->Other Settings-->Default Project Structure


修改配置:



修改后要是遇到以下错误:

"Gradle sync failed: Unable to start the daemon process.
            This problem might be caused by incorrect configuration of the daemon.
            For example, an unrecognized jvm option is used.
            Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html
            Please read the following process output to find out more:"
 那么调整JVM内存设置: 


修改目录:Android\Android Studio\bin\studio.exe.vmoptions

-Xmx750m   ->   -Xmx512m
-XX:MaxPermSize=350m    ->    -XX:MaxPermSize=250m
问题就可以解决了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值