本文介绍了如何从Android Studio中的索引删除目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个很大的项目文件夹,其中包含许多子项目. Android项目只有4个,其余都是C代码.

I have a large project folder that contains many sub projects. Only 4 are part of the Android project, the rest are C code.

但是,似乎Android Studio正在为所有内容建立索引,这需要很长时间.

However, it appears that Android Studio is indexing ALL of it, which takes a long time.

如何从索引中排除其他目录?

How do I exclude these other directories from indexing?

无法明确地执行此操作,并且模块设置"仅列出了Android项目,因此我无法从此处删除其他文件夹.

There no way to explicitly do it, and the Module Settings only lists the Android projects so I cannot remove the other folders from there.

推荐答案

  1. 在项目资源管理器中选择目录.
  2. 搜索Excluded,然后按Enter.
  1. Select the directory in the Project explorer.
  2. or
  3. Search for Excluded and hit enter.

小心,我还无法找到一种方法来重新包含"文件夹.

Careful, I haven't been able to find a way to 're-include' folders back yet.

这篇关于如何从Android Studio中的索引删除目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 12:22
查看更多