Android Studio:后台任务无限期运行 [英] Android Studio: Background task running indefinitely
问题描述
更新 Android SDK 后,我启动了 Android Studio.现在它的显示后台任务持续运行并带有消息
After updating the Android SDK, I started Android Studio. Now its showing background task continuously running with message
更新索引:扫描文件以建立索引.
Updating indices: Scanning files to index.
在这种模式下,它几乎挂了,我无法处理它.无法找到停止后台任务的方法.重新启动 Android Studio 也没有用.
In this mode, it is nearly hanged and I can not work on it. Not able to find a way to stop background task. A restart of Android Studio didn't work either.
推荐答案
我发现我应该使用@free3dom 的解决方案,即文件菜单中的Invalidate Caches/Restart option
.
I've find out that I should use the solution of @free3dom which is the Invalidate Caches / Restart option
in the File menu.
每次我通过在 GIT 中切换分支来更改某个项目文件时,我都必须这样做.
I have to do this every time I change some project file by switching branches in GIT.
是的,Android Studio 真的很烂,而且漏洞百出...
And yes, Android Studio really sucks and is full of bugs...
这篇关于Android Studio:后台任务无限期运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!