gpt4 book ai didi

Android Studio 2.2 不显示任何带有 java.lang.NullPointerException 的项目

转载 作者:行者123 更新时间:2023-11-30 00:52:46 27 4
gpt4 key购买 nike

我在 android studio 中遇到了新问题。我看不到我的任何项目。我只能看到一个空白屏幕。

我得到了这样的错误。

java.lang.NullPointerException
at com.intellij.openapi.application.impl.ApplicationImpl.confirmExitIfNeeded(ApplicationImpl.java:877)
at com.intellij.openapi.application.impl.ApplicationImpl.access$900(ApplicationImpl.java:92)
at com.intellij.openapi.application.impl.ApplicationImpl$16.run(ApplicationImpl.java:827)
at com.intellij.openapi.application.impl.ApplicationImpl.exit(ApplicationImpl.java:840)
at com.intellij.openapi.application.impl.ApplicationImpl.exit(ApplicationImpl.java:789)
at com.intellij.openapi.application.impl.ApplicationImpl.exit(ApplicationImpl.java:784)
at com.intellij.openapi.wm.impl.IdeFrameImpl$5$1.run(IdeFrameImpl.java:275)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:345)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:329)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:857)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:658)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

现在我无法打开我的所有项目并且在完成我的任务时遇到麻烦。有什么帮助吗?

最佳答案

终于可以解决问题了。我正在使用 Windows 操作系统。我打开任务管理器并关闭 Android Studio 程序。重新打开 Android Studio 后,我恢复了之前设置的所有首选项,所有项目都链接起来了。

@Martin Revert Solution 可以关注。但请记住,所有项目首选项都将被删除,您可能必须设置 SDK 路径和所有必要的东西。否则你可以按照我的解决方案。

关于Android Studio 2.2 不显示任何带有 java.lang.NullPointerException 的项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40702516/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com