Intellij Idea Android Studio启动失败,错误由java.io.EOFException引起

ix0qys7i  于 2023-11-16  发布在  Android
关注(0)|答案(3)|浏览(164)

更新Android Studio后,开始与这些popbox失败,如果有人知道如何解决这个问题,我真的很感激.

Internal Error. Please report to https://code.google.com/p/android/issues

java.lang.AssertionError: Internal file was corrupted. Problem is fixed.
If some plugins has been installed/uninstalled, please re-install/-uninstall them.
    at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:66)
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:132)
    at com.intellij.ide.startup.StartupActionScriptManager.loadActionScript(StartupActionScriptManager.java:84)
    at com.intellij.ide.startup.StartupActionScriptManager.executeActionScript(StartupActionScriptManager.java:45)
    at com.intellij.ide.BootstrapClassLoaderUtil.initClassLoader(BootstrapClassLoaderUtil.java:73)
    at com.intellij.ide.Bootstrap.main(Bootstrap.java:32)
    at com.intellij.idea.Main.main(Main.java:92)
Caused by: java.io.EOFException
    at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2325)
    at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2794)
    at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:801)
    at java.io.ObjectInputStream.<init>(ObjectInputStream.java:299)
    at com.intellij.ide.startup.StartupActionScriptManager.loadActionScript(StartupActionScriptManager.java:78)
    ... 4 more

字符串

fhity93d

fhity93d1#

最后,我自己解决了这个问题。只要删除一些文件就可以解决问题。.android和.AndroidStudio1.4这两个文件的目录是C:\Users\USER_NAME

dgsult0t

dgsult0t2#

您可以重新启动Android Studio也清理缓存:


的数据

qfe3c7zg

qfe3c7zg3#

对我来说,打开Gradle离线模式就解决了这个问题。

相关问题