Android Studio更新Java小程序插件M1错误

tjvv9vkg  于 2023-03-06  发布在  Java
关注(0)|答案(1)|浏览(135)

我是一个Flutter开发人员。我使用M1 Pro芯片。我想更新我的Android工作室,但我有这个错误消息。
java.io.IOException:绝对链接:/应用程序/Android www.example.com-〉/库/互联网插件/JavaApplet插件Studio.app/Contents/jre/JavaAppletPlugin.plugin -> /Library/Internet Plug-Ins/JavaAppletPlugin.plugin

05/03 14:00:18 INFO  PatchFileCreator.prepareAndValidate - Electric Eel | 2022.1.1 Patch 1 -> Electric Eel | 2022.1.1 Patch 2
05/03 14:00:18 INFO  Patch.forEach - Validating installation... [4239 actions]
05/03 14:00:18 ERROR Runner.install - prepare failed
java.io.IOException: An absolute link: /Applications/Android Studio.app/Contents/jre/JavaAppletPlugin.plugin -> /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
    at com.intellij.updater.Digester.digestRegularFile(Digester.java:50)
    at com.intellij.updater.Patch.digestFile(Patch.java:450)
    at com.intellij.updater.DeleteAction.validate(DeleteAction.java:42)
    at com.intellij.updater.Patch.lambda$validate$0(Patch.java:292)
    at com.intellij.updater.Patch.forEach(Patch.java:438)
    at com.intellij.updater.Patch.validate(Patch.java:291)
    at com.intellij.updater.PatchFileCreator.prepareAndValidate(PatchFileCreator.java:109)
    at com.intellij.updater.Runner.install(Runner.java:413)
    at com.intellij.updater.Runner._main(Runner.java:221)
    at com.intellij.updater.Runner.main(Runner.java:49)

Java版本"19.0.2" 2023 - 01 - 17 Java(TM)SE运行时环境(内部版本号19.0.2 + 7 - 44)Java HotSpot(TM)64位服务器虚拟机(内部版本号19.0.2 + 7 - 44,混合模式,共享)
我需要Android Studio更新。有人知道吗?

6g8kf2rb

6g8kf2rb1#

我以前用过这些命令来控制Flutter。问题会出在这些代码上吗?

cd /Applications/Android\ Studio.app/Contents/jre
ln -s ../jre jdk
ln -s "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin" jdk

相关问题