无法从android studio 3.1.4更新到3.4.1

时间:2019-06-18 16:54:50

标签: android-studio android-studio-3.0

我正在尝试将Android Studio从3.1.4更新到3.4.1,它在修补时显示以下错误:

ERROR Patch.apply - apply failed
java.io.IOException: Impossibile trovare il file specificato
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:233)
at com.intellij.updater.Utils.copyStream(Utils.java:237)
at ie.wombat.jbdiff.JBPatch.realAllFileContent(JBPatch.java:141)
at ie.wombat.jbdiff.JBPatch.bspatch(JBPatch.java:67)
at 
com.intellij.updater.DiffAlgorithm$JBDiffAlgorithm.applyDiff
(DiffAlgorithm.java:118)
at 
com.intellij.updater.BaseUpdateAction.applyDiff(BaseUpdateAction.java:145)
at com.intellij.updater.UpdateAction.doApply(UpdateAction.java:55)
at com.intellij.updater.PatchAction.apply(PatchAction.java:199)
at com.intellij.updater.Patch.lambda$apply$3(Patch.java:399)
at com.intellij.updater.Patch.forEach(Patch.java:471)
at com.intellij.updater.Patch.apply(Patch.java:390)
at com.intellij.updater.PatchFileCreator.apply(PatchFileCreator.java:64)
at com.intellij.updater.Runner.install(Runner.java:357)
at com.intellij.updater.Runner.main(Runner.java:131)

有任何线索吗?

1 个答案:

答案 0 :(得分:0)

@Gabriele Mariotti指出,在第二次尝试中,使缓存无效并重新启动似乎可以解决问题