Android Studio after update Error: could not open `C:\Program Files\Android\Android Studio\jre\lib\jvm.cfg'

huangapple go评论54阅读模式
英文:

Android Studio after update Error: could not open `C:\Program Files\Android\Android Studio\jre\lib\jvm.cfg'

问题

在将Android Studio升级到Electric Eel版本后,我尝试从一个Flutter项目构建APK时出现以下错误消息:

Error: could not open `C:\Program Files\Android\Android Studio\jre\lib\jvm.cfg'

我注意到Program Files\Android目录下有两个Android Studio文件夹,另一个命名为Android Studio1,它包含正确的文件夹,而另一个只包含jre文件夹,且没有jvm.cfg文件。除了删除整个内容并重新安装之外,是否还有其他方法可以解决这个问题?

英文:

After updating Android Studio to Electric Eel version, I try to build an apk from a Flutter project it gives the message

Error: could not open `C:\Program Files\Android\Android Studio\jre\lib\jvm.cfg'

I noticed that Program Files\Android contained two Android Studio folders with the other named as Android Studio1 and it contains the correct folders, while the other contained only this jre folder and the file jvm.cfg doesn't exist, is there something I can do other than deleting the whole thing and re installing?

答案1

得分: 0

Found an answer here
You just need to copy the contents of jbr folder to jre folder and it works

英文:

Found an answer here
You just need to copy the contents of jbr folder to jre folder and it works

huangapple
  • 本文由 发表于 2023年3月4日 03:22:52
  • 转载请务必保留本文链接:https://go.coder-hub.com/75631113.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定