AS项目一直Indexing paused due to batch updated

简介: AS项目一直Indexing paused due to batch updated

经过

先更新了AS(3.0>3.2),然后更新了项目,一顿同步编译之后就出现了Indexing paused due to batch updated,过了一会还是没好,然后


关掉项目重新打开

关掉AS重新打开

清除缓存重新打开

删除idea文件夹及iml文件重新打开

以上 都不行 !!!


我的解决办法,仅供参考,因为你不一定是跟我一样的原因导致的。

删除本地项目

重新checkout

导入项目的时候取消同步gradle,手动在设置里选择gradle路径,因为升级as的时候我是手动升级的gradle

然后关闭重新打开编译即可

总结:

  • as在升级过程中配置或其他有变化
  • gradle同理
  • 本地项目与仓库版本配置有偏差导致
  • 总之,as版本与gradle版本保持关联一致。团队开发保持开发环境一致,最起码工具的版本保持一致


目录
相关文章
|
消息中间件 Kafka
Batch containing 11 record(s) expired due to timeout while requesting metadata
背景: Kafka集群在一个192.168.0.x网段的,而我们的生产者在192.168.17.x网段的一台机器上,故当生产者发送消息给Kafka时, 无法将消息发送过去。
4396 0
|
关系型数据库 MySQL 分布式数据库
|
C++
PAT (Advanced Level) Practice - 1038 Recover the Smallest Number(30 分)
PAT (Advanced Level) Practice - 1038 Recover the Smallest Number(30 分)
144 0
|
Web App开发 Java
The project was not built due to "Could not delete ''.". Fix the problem, then try refreshing this p
版权声明:本文为 testcs_dn(微wx笑) 原创文章,非商用自由转载-保持署名-注明出处,谢谢。 https://blog.csdn.net/testcs_dn/article/details/45935015 ...
1001 0
|
Oracle 关系型数据库 Linux
About Setting the Time on All Nodes
About Setting the Time on All Nodes Before starting the installation, ensure that the date and time settings on all the cl...
943 0
|
SQL 数据库
Resolving Issues Where Application Queries are Waiting Too Frequently for 'db file sequential read'
昨天有篇“db file sequential read”的介绍,还有一篇类似的:Resolving Issues Where Application Queries are Waiting Too Frequently for 'db file sequential read' Operations (文档 ID 1475825.1) 诊断“db file sequential read”的步骤: 简述: 低效的SQL会引起不同节点间非常多的块读。
885 0
|
运维 Oracle 关系型数据库
【故障处理】EXP-00003: no storage definition found for segment
EXP-00003: no storage definition found for segment EXP-3 No Storage Definition Found For Segment (文档 ID 443453.
1944 0
Manifest merger failed with multiple errors, see logs
Manifest merger failed with multiple errors, see logs
142 0