在异常为Android Studio插件面料 [英] Exception in plugin Fabric for Android Studio

查看:326
本文介绍了在异常为Android Studio插件面料的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Android的工作室最新的面料插件并运行一段时间的罚款。刚刚更新到Android 1.1.0工作室后,我在事件日志中得到这个:

I've installed the latest Fabric plugin for Android Studio and it run fine for a while. Just after updating to Android Studio 1.1.0 I got this in event log:

而NullPointerException异常:

And the 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)

我试过重建,重新安装插件,但我仍然得到同样的异常。我怀疑异常是由于/有一些与Android的更新工作室做1.1.0。

I've tried Rebuild, reinstalling the plugin, but I still get the same exception. I suspect that the exception is due to/has something to do with the Android studio update to 1.1.0.

我所举报的问题,但这并不解决问题。有没有人碰到这个问题?任何想法?

I've reported the issue, but that doesn't solve the problem. Has anyone came across this issue? Any ideas?

推荐答案

我卸载了面料插件并安装了新下载2.2.0版本的插件(不记得了),现在它似乎异常也没有了。

Uninstall and Re-download the plugin

I uninstalled the Fabric plugin and installed a newly downloaded 2.2.0 version of the plugin (don't remember) and now it seems the exception is gone.

注意:从@Dheeraj巴斯卡尔修正后,我实际做的过程中为面料插件 - 我无法找到一个选项下载 Crashlytics 插件。

Note: After the correction from @Dheeraj Bhaskar, I actually did the process for the Fabric plugin - I couldn't find an option to download a Crashlytics plugin.

这篇关于在异常为Android Studio插件面料的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆