Android Studio java.io.IOException – 从Electric Eel更新 | 2022.1.1 Patch 2 -> Flamingo | 2022.2.1

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

Android Studio java.io.IOException - Update from Electric Eel | 2022.1.1 Patch 2 -> Flamingo | 2022.2.1

问题

当我尝试将我的Android Studio从Electric Eel升级到Flamingo时,在下载更新后,重新启动Android Studio以安装此更新时,我收到了以下错误:

错误信息如下:

java.io.IOException: An absolute link: /Applications/Android Studio.app/Contents/jbr/JavaAppletPlugin.plugin -> /Library/Internet Plug-Ins/JavaAppletPlugin.plugin

我还尝试了以下解决方案,但没有解决我的问题:

  1. https://stackoverflow.com/a/68575967/9133703

图片链接如下:

英文:

When I tried to update my Android Studio from Electric Eel to Flamingo, after downloading update, and restart android studio for installing this update I got this Error:

Android Studio java.io.IOException – 从Electric Eel更新 | 2022.1.1 Patch 2 -> Flamingo | 2022.2.1

and this is a stored LOG:

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

also I tried this solution:

https://stackoverflow.com/a/68575967/9133703


but it is not fixed my problem

/Applications/Android Studio.app/Contents

Android Studio java.io.IOException – 从Electric Eel更新 | 2022.1.1 Patch 2 -> Flamingo | 2022.2.1


/Applications/Android Studio.app/Contents/jbr

Android Studio java.io.IOException – 从Electric Eel更新 | 2022.1.1 Patch 2 -> Flamingo | 2022.2.1


/Applications/Android Studio.app/Contents/jre

Android Studio java.io.IOException – 从Electric Eel更新 | 2022.1.1 Patch 2 -> Flamingo | 2022.2.1


/Library/Internet Plug-Ins

Android Studio java.io.IOException – 从Electric Eel更新 | 2022.1.1 Patch 2 -> Flamingo | 2022.2.1

答案1

得分: 2

在我尝试删除/Applications/Android Studio.app/Contents/jre/Applications/Android Studio.app/Contents/jbr中的JavaAppletPlugin.plugin链接之后,问题得以解决。

英文:

After I tried to delete both
JavaAppletPlugin.plugin links
from

/Applications/Android Studio.app/Contents/jre

and

/Applications/Android Studio.app/Contents/jbr

the problem fixed.

huangapple
  • 本文由 发表于 2023年4月17日 17:45:02
  • 转载请务必保留本文链接:https://go.coder-hub.com/76033767.html
匿名

发表评论

匿名网友

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

确定