首页 > 解决方案 > 尝试打开项目设置时,构建日志上的 null 错误

问题描述

我正在尝试打开某人留在公司的项目的设置。当我单击打开设置时,Android Studio IDE 失败并显示“null”错误。

我可以做什么??它对我说“禁用 android 支持插件”。我迷路了。

null
java.lang.StackOverflowError
    at java.lang.Exception.<init>(Exception.java:54)
    at java.lang.RuntimeException.<init>(RuntimeException.java:51)
    at java.lang.NullPointerException.<init>(NullPointerException.java:60)
    at java.lang.String.getBytes(String.java:917)
    at com.intellij.openapi.util.io.FileSystemUtil$JnaUnixMediatorImpl$UnixLibC.lstat(Native Method)
    at com.intellij.openapi.util.io.FileSystemUtil$JnaUnixMediatorImpl.getAttributes(FileSystemUtil.java:460)
    at com.intellij.openapi.util.io.FileSystemUtil.getAttributes(FileSystemUtil.java:116)
    at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.getAttributes(LocalFileSystemBase.java:769)
    at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.isDirectory(LocalFileSystemBase.java:107)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:102)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.refreshAndFindChild(VirtualDirectoryImpl.java:284)
    at com.intellij.openapi.vfs.newvfs.VfsImplUtil.refreshAndFindFileByPath(VfsImplUtil.java:131)
    at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.refreshAndFindFileByPath(LocalFileSystemBase.java:56)
    at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.refreshAndFindFileByIoFile(LocalFileSystemBase.java:211)
    at...

完整的堆栈跟踪:堆栈跟踪错误

标签: androidandroid-studionullpointerexception

解决方案


推荐阅读