具有Flutter更新的Android Studio导致了索引循环 [英] Android Studio With Flutter Update Has Caused an Indexing Loop

查看:140
本文介绍了具有Flutter更新的Android Studio导致了索引循环的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了一个android studio更新并更新了flutter,现在IDE卡在了索引循环中.在底部中心,它不断闪烁正在更新索引...",而我的项目projectName.iml文件在作为文件图标和带有绿点图标的文件夹之间不断闪烁.此外,每个文件错误指示器在绿色复选标记和眼睛图标之间闪烁.

I did an android studio update and updated flutter and now the IDE is stuck in an indexing loop. At the bottom center it keeps flashing 'Updating Indexes...' and my projects projectName.iml file keeps flashing between being a file icon and a folder with a green dot icon. Also each file error indicator flashes between the green check to the eye icon.

未建立索引状态图标:
索引状态图标:

Not Indexing State Icon:
Indexing State Icon:

我已经使缓存无效,并重新启动了几次,每个flutter项目都遇到了同样的问题.更新完成后,我收到了一条通知:

I've invalidated the caches and restarted several times and every flutter project is having this same issue. When the update completed I got a flutter notification that reads:

颤振模块类型已更新
从"WEB_MODULE"转换为"JAVA_MODULE"

Flutter module type updated
Converted from 'WEB_MODULE' to 'JAVA_MODULE'

我能够继续进行项目,并在模拟器中启动应用程序而不会出现任何问题,这只是分散了屏幕上不断闪烁的内容而已.还有其他人遇到此问题并找到了解决方案吗?

I'm able to continue work on the project and launch the application in the emulator without any problems, it's just distracting having this constant flashing on the screen. Anyone else having this problem and found a solution?

Flutter插件: 版本:23.0.2

Flutter Plugin: Version: 23.0.2

Flutter SDK版本: Flutter 0.2.3•频道Beta• https://github.com/flutter/flutter.git 框架•版本5a58b36e36(2周前)•2018-03-13 13:20:13 -0700引擎•版本e61bb9ac3a工具•Dart 2.0.0-dev.35.flutter-290c576264

Flutter SDK Version: Flutter 0.2.3 • channel beta • https://github.com/flutter/flutter.git Framework • revision 5a58b36e36 (2 weeks ago) • 2018-03-13 13:20:13 -0700 Engine • revision e61bb9ac3a Tools • Dart 2.0.0-dev.35.flutter-290c576264

Dart插件: 版本:173.4700

Dart Plugin: Version: 173.4700

Dart SDK:
路径:〜/dev_mobile/flutterSDK/flutter/bin/cache/dart-sdk
版本:2.0.0-edge.*** cc5fe0

Dart SDK:
Path: ~/dev_mobile/flutterSDK/flutter/bin/cache/dart-sdk
Version: 2.0.0-edge.***cc5fe0

覆盖插件: 版本:173.4301.25

Coverage Plugin: Version: 173.4301.25

Android Studio:

推荐答案

我能够通过添加

<option name="ALLOW_USER_CONFIGURATION" value="false" />

到我的project_android.iml文件.添加此行后,重新索引编制循环将停止,即使在工作并重新启动Android Studio数天后也没有恢复.在stevemessick的评论中找到了解决方案,这里 https://github.com/flutter/flutter- intellij/issues/1735 按照GünterZöchbauer中的链接参考上面的响应.

to my project_android.iml file. Once adding this line, the reindexing loop stopped and it has not even after several days of working and restarting Android Studio. Found the solution in a comment by stevemessick here https://github.com/flutter/flutter-intellij/issues/1735 as per Günter Zöchbauer link reference in the response above.

这篇关于具有Flutter更新的Android Studio导致了索引循环的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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