Android的工作室不断更换studio.vmoptions时更新 [英] Android Studio keeps replacing studio.vmoptions when it updates

查看:634
本文介绍了Android的工作室不断更换studio.vmoptions时更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我修改了studio.vmoptions,以增加可用于Android Studio的内存。但每次我更新的Andr​​oid工作室它抱怨该文件被修改,并提出了解决办法是更换该文件。它不会让我离开这个文件,因为它是,所以我每次升级的Andr​​oid工作室(这是相当常见)时修改studio.vmoptions。

I modified my studio.vmoptions to increase memory available for Android Studio. But every time I update Android Studio it complains about the file being modified and the solution it proposes is to replace the file. It doesn't let me leave the file as it is, so I have to modify studio.vmoptions every time I upgrade Android Studio (which is quite often).

有增加AS堆大小任何其他方法?

Is there any other method for increasing AS heap size?

推荐答案

按照此说明,看看是否有帮助:

Follow this instructions to see if it helps:

http://tool​​s.android.com/tech-docs/configuration

我记得我试过这个曾经和他们中的说明说使用一个特定的文件夹,但现在说明说:

I remember that I tried this once and they said in the instructions to use an specific folder, but now the instructions says:

〜/库/ preferences / {} FOLDER_NAME /studio.vmoptions

~/Library/Preferences/{FOLDER_NAME}/studio.vmoptions

和我有2个文件夹1.0和1.2也许现在它工作在特定版本的文件夹。

And I have 2 folders 1.0 and 1.2 maybe now it works in the specific version folder.

这篇关于Android的工作室不断更换studio.vmoptions时更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆