简体   繁体   English

Android Studio Canary 4.1 Memory 设置

[英]Android Studio Canary 4.1 Memory settings

加载设置 I'm trying to increase my heap size, but the android studio setting window keeps loading.我正在尝试增加堆大小,但 android 工作室设置 window 一直在加载。 Does anyone know how to fix it?有谁知道如何修理它?

Is this Android Studio 4.1 Canary 9?这是 Android Studio 4.1 Canary 9 吗? I had the same issue when migrating to Canary 9, and traced it through idea.log in %APPDATA%\Local\Google\AndroidStudioPreview4.1\log\ , which for me reads我在迁移到 Canary 9 时遇到了同样的问题,并通过%APPDATA%\Local\Google\AndroidStudioPreview4.1\log\中的idea.log对其进行了跟踪,对我来说,它是

java.nio.file.InvalidPathException: Illegal char <:> at index 76: S:\Android\Android Studio\Canary\android-studio\bin\studio64.exe.vmoptions,C:\Users\<username>\AppData\Roaming\Google\AndroidStudioPreview4.1\studio64.exe.vmoptions

4.1 Canary 9 is the first release based off of IDEA 2020.1 and has a new system for storing configuration (in the %APPDATA% folder rather than the hidden .AndroidStudioX.X folders of the past). 4.1 Canary 9 是基于 IDEA 2020.1 的第一个版本,具有用于存储配置的新系统(在%APPDATA%文件夹中,而不是过去隐藏的.AndroidStudioX.X文件夹中)。 It seems like a new studio64.exe.vmoptions (the file which holds memory settings) is being created in the configuration folder, in addition to its original location at the install location, so when the parser gets to the second path, it throws that error.似乎除了安装位置的原始位置之外,还在配置文件夹中创建了一个新的studio64.exe.vmoptions (包含 memory 设置的文件),因此当解析器到达第二个路径时,它会抛出错误。 I solved it by deleting both files and restarting Android Studio, which made the memory settings reappear for me.我通过删除这两个文件并重新启动 Android Studio 解决了这个问题,这使得 memory 设置重新出现在我面前。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM