Android Studio 在索引时卡住

标签 android indexing virtualbox genymotion freeze

我的项目运行良好,但是当我在手机上运行它时,Android Studio 突然卡住,我应该从任务管理器中停止它。 在此之前我安装了“Geny motion”和“Virtual Box”,但是当错误发生时我卸载了它们。但问题依然存在。

android studio freezes on indexing

我尝试过的解决方案

  1. 我把它卸载了再安装
  2. 我拔下并插入了我的设备
  3. 我在设置中禁用了 android 索引

以上解决方案均无效。

最佳答案

我今天遇到了这个问题。在我找到简单的解决方案之前,以上都没有帮助我 here 只需运行 File -> Invalidate Cache and Restart 就这么简单而且有效!!!

关于Android Studio 在索引时卡住,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38627874/

相关文章:

android - 如何完全关闭 Activity 以便我可以阻止用户启动 Activity

networking - VirtualBox "Bridged Adapter"网络未显示在 VM 中

android - 以编程方式查找是否允许从未知来源安装

android - 漂浮 fragment

Android 显示 "Unable to get system library for project"

sql - 如何在多个不同的列上应用 Count 并使用 Hading 子句

datetime - pandas 日期时间切片 : junkdf. ix ['2015-08-03' :'2015-08-06' ] 不起作用

javascript - 表单元格循环错误地产生 undefined index

linux - 将 Virtualbox 共享文件夹挂载为在 guest 操作系统上运行的 Docker 的卷

database - TNS :listener does not currently know of SID given in connect descriptor