Intellij Idea Android Studio java.io.IOException -来自Electric Eel的更新|2022.1.1补丁2 ->火烈鸟|2022.2.1

isr3a4wc  于 2023-04-19  发布在  Android
关注(0)|答案(1)|浏览(185)

当我试图更新我的Android Studio从电鳗到火烈鸟,下载更新后,并重新启动Android Studio安装此更新我得到了这个错误:

这是一个存储的日志:

17/04 11:36:12 INFO  Runner.initLogger - --- Updater started ---
17/04 11:36:12 INFO  Runner._main - args: [install, /Applications/Android Studio.app/Contents]
17/04 11:36:12 INFO  Runner._main - destination: /Applications/Android Studio.app/Contents (/Applications/Android Studio.app/Contents), case-sensitive: false
17/04 11:36:14 INFO  Utils.getTempFile - created a working directory: /Users/<usr>/Library/Caches/Google/AndroidStudio2022.1/tmp/patch-update/idea.updater.files.12145042962668282155
17/04 11:36:14 INFO  Runner.install - Extracting patch file...
17/04 11:36:14 INFO  Utils.getZipEntry - entryPath: patch-file.zip
17/04 11:36:16 INFO  Utils.getZipEntry - entryPath: .patch-info
17/04 11:36:16 INFO  PatchFileCreator.prepareAndValidate - Electric Eel | 2022.1.1 Patch 2 -> Flamingo | 2022.2.1
17/04 11:36:16 INFO  Patch.forEach - Validating installation... [5271 actions]
17/04 11:36:16 ERROR Runner.install - prepare failed
java.io.IOException: An absolute link: /Applications/Android Studio.app/Contents/jbr/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)

17/04 11:36:32 INFO  Runner.cleanup - Cleaning up...
17/04 11:36:32 INFO  Utils.tryDelete - deleted: /Users/<usr>/Library/Caches/Google/AndroidStudio2022.1/tmp/patch-update/idea.updater.files.12145042962668282155/patch.tmp.0
17/04 11:36:32 INFO  Utils.tryDelete - deleted: /Users/<usr>/Library/Caches/Google/AndroidStudio2022.1/tmp/patch-update/idea.updater.files.12145042962668282155
17/04 11:36:32 INFO  Utils.cleanup - deleted a working directory: /Users/<usr>/Library/Caches/Google/AndroidStudio2022.1/tmp/patch-update/idea.updater.files.12145042962668282155
17/04 11:36:32 INFO  Runner.refreshApplicationIcon - refreshApplicationIcon for: /Applications/Android Studio.app

我也尝试了这个解决方案:
https://stackoverflow.com/a/68575967/9133703
但这并不能解决我的问题

/Applications/Android Studio.app/Contents

/Applications/Android Studio.app/Contents/jbr

/Applications/Android Studio.app/Contents/jre

/Library/Internet Plug-Ins

dy1byipe

dy1byipe1#

在我尝试删除两个JavaAppletPlugin.plugin链接从
/Applications/Android Studio.app/Contents/jre

/Applications/Android Studio.app/Contents/jbr
问题解决了。

相关问题