scanning files to index

关于点击Invalidate Caches/Restart禁止插件后,重新加载–Android Studio
1:47:27 Plugin Error
Problems found loading plugins:

    Plugin "Google Analytics Uploader" was not loaded: required plugin "Android Support" is disabled.
    Plugin "SDK Updater" was not loaded: required plugin "Android Support" is disabled.
    Plugin "Android NDK Support" was not loaded: required plugin "Android Support" is disabled.
    Plugin "Google App Indexing" was not loaded: required plugin "Android Support" is disabled.
    Plugin "Google Cloud Tools For Android Studio" was not loaded: required plugin "Android Support" is disabled.
    Plugin "Google Cloud Testing" was not loaded: required plugin "Android Support" is disabled.
    Plugin "Google Services" was not loaded: required plugin "Android Support" is disabled.
    Disable not loaded plugins
    Enable Android Support
    Open plugin manager

1:47:58 Error Loading Project: Cannot load 3 facets Details…
1:48:15 Plugins Suggestion
Unknown features (Run Configuration[AndroidRunConfigurationType], Facet[android, android-gradle]) covered by disabled plugin detected.
Enable plugins…
Ignore Unknown Features
1:49:32 CalledFromWrongThreadException
Access is allowed from event dispatch thread only.
Details: EventQueue.isDispatchThread()=false
isDispatchThread()=false
Toolkit.getEventQueue()=com.intellij.ide.IdeEventQueue@61663e4a
Current thread: Thread[ApplicationImpl pooled thread 12,4,main] 2035004982
SystemEventQueueThread: Thread[AWT-EventQueue-0 1.5#AI-141.2456560, eap:false,6,main] 349142291
“AWT-EventQueue-0 1.5#AI-141.2456560, eap:false” prio=0 tid=0x0 nid=0x0 waiting on condition
java.lang.Thread.State: WAITING
on java.util.concurrent.locks.AbstractQueuedSynchronizer C o n d i t i o n O b j e c t @ 57 d 1 d 7 e a t s u n . m i s c . U n s a f e . p a r k ( N a t i v e M e t h o d ) a t j a v a . u t i l . c o n c u r r e n t . l o c k s . L o c k S u p p o r t . p a r k ( L o c k S u p p o r t . j a v a : 175 ) a t j a v a . u t i l . c o n c u r r e n t . l o c k s . A b s t r a c t Q u e u e d S y n c h r o n i z e r ConditionObject@57d1d7e at sun.misc.Unsafe.park(Native Method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) at java.util.concurrent.locks.AbstractQueuedSynchronizer ConditionObject@57d1d7eatsun.misc.Unsafe.park(NativeMethod)atjava.util.concurrent.locks.LockSupport.park(LockSupport.java:175)atjava.util.concurrent.locks.AbstractQueuedSynchronizerConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.awt.EventQueue.getNextEvent(EventQueue.java:554)
at com.intellij.ide.IdeEventQueue.pumpEventsForHierarchy(IdeEventQueue.java:802)
at com.intellij.openapi.progress.util.ProgressWindow.startBlock… (show balloon)
点击File–Invalidate Caches/Restart…后报错:

在这里插入图片描述

-----------------解决方法-----------------------------
被禁用了
File > Settings > Plugins -> type “Android” on the search box
在这里插入图片描述

You’ll notice that “Android Support” Plugin is unchecked. Uncheck the “Google Cloud Testing” plugin and then check the “Android Support” plugin. Hit the Apply button and then click OK. The IDE will ask you to restart to bring the changes into effect. Hit OK and when the IDE restarts, your code should be working fine.

取消勾选,再重新勾选,点击apply应用,点击oK确定。弹出一个框询问是否重启,点restart.重启后即可解决这个问题。

工作如同河川,自闲暇的深海觅得圆满。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值