无法将android studio从3.1更新到3.1.1

时间:2018-04-11 12:31:19

标签: android android-studio android-studio-3.1

我正在尝试将android studio从3.1更新到3.1.1,它在修补程序中显示以下错误

enter image description here

错误记录

java.io.IOException: Cannot delete: C:\Program Files\Android\Android Studio\lib\external-system-rt.jar
    at com.intellij.updater.Utils.tryDelete(Utils.java:108)
    at com.intellij.updater.Utils.access$000(Utils.java:15)
    at com.intellij.updater.Utils$1.visitFile(Utils.java:71)
    at com.intellij.updater.Utils$1.visitFile(Utils.java:68)
    at java.nio.file.Files.walkFileTree(Files.java:2670)
    at java.nio.file.Files.walkFileTree(Files.java:2742)
    at com.intellij.updater.Utils.delete(Utils.java:68)
    at com.intellij.updater.BaseUpdateAction.replaceUpdated(BaseUpdateAction.java:118)
    at com.intellij.updater.UpdateAction.doApply(UpdateAction.java:77)
    at com.intellij.updater.PatchAction.apply(PatchAction.java:201)
    at com.intellij.updater.Patch.lambda$apply$2(Patch.java:401)
    at com.intellij.updater.Patch.forEach(Patch.java:473)
    at com.intellij.updater.Patch.apply(Patch.java:392)
    at com.intellij.updater.PatchFileCreator.apply(PatchFileCreator.java:78)
    at com.intellij.updater.Runner.install(Runner.java:355)
    at com.intellij.updater.Runner.main(Runner.java:133)

任何人都可以为此提供解决方案

1 个答案:

答案 0 :(得分:1)

仅在重新启动系统后才解决。