gpt4 book ai didi

android - Android Studio 插件 Fabric 中的异常

转载 作者:IT老高 更新时间:2023-10-28 23:24:10 26 4
gpt4 key购买 nike

我已经安装了最新的 Fabric plugin对于 Android Studio,它可以正常运行一段时间。更新到 Android Studio 1.1.0 后,我在事件日志中得到了这个:

enter image description here

还有 NullPointerException:

update failed for AnAction with ID=Actions.Crashlytics.CrashlyticsAction java.lang.NullPointerException at com.crashlytics.tools.intellij.CrashlyticsPlugin.getCrashlyticsBridge(CrashlyticsPlugin.java:104)
at com.crashlytics.tools.intellij.actions.CrashlyticsAction.getDelegate(CrashlyticsAction.java:24)
at com.crashlytics.tools.intellij.actions.CrashlyticsAction.update(CrashlyticsAction.java:34)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:113)
at com.intellij.openapi.actionSystem.impl.Utils.doUpdate(Utils.java:187)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:138)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:163)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:95)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$2.run(ActionToolbarImpl.java:927)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActions(ActionToolbarImpl.java:966)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:913)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateAllToolbarsImmediately(ActionToolbarImpl.java:72)
at com.intellij.ide.actions.SearchEverywhereAction$11$1.run(SearchEverywhereAction.java:511)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:697)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

我尝试过 Rebuild,重新安装插件,但我仍然遇到同样的异常。我怀疑异常是由于/与 Android Studio 更新到 1.1.0 有关。

我已经报告了这个问题,但这并不能解决问题。有没有人遇到过这个问题?有什么想法吗?

最佳答案

卸载并重新下载插件

我卸载了Fabric插件并安装了一个新下载的2.2.0版本的插件(不记得了),现在似乎异常消失了。

注意:在@Dheeraj Bhaskar 更正之后,我实际上为 Fabric 插件完成了该过程 - 我找不到下载 Crashlytics 插件的选项。

关于android - Android Studio 插件 Fabric 中的异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29164074/

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