英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论