Android Studio修改“choose boot runtime for the IDE“后无法打开

时间:2024-04-26 21:18:24

在Android Studio中选择了"choose boot runtime for the IDE"的New后,会自动重启AS,然后就无法打开android studio了,打开直接报错,cause by如下

Unable to make field protected java.lang.Runnable java.awt.event.InvocationEvent.runnable accessible: module java.desktop does not "opens java.awt.event" to unnamed module

删除如下路径的文件即可,会重新走一遍AS的首次打开教程

D:\Users\用户名\AppData\Roaming\Google\AndroidStudio(版本号)