Android Studio 项目文件未显示 [英] Android Studio project files not showing up
问题描述
我在 Android Studio 中有一个库项目,它一直运行良好,但今天我开始处理它,除了几个 git 文件外,所有文件都丢失了.当我查看硬盘驱动器上的项目文件夹时,文件夹/文件就在那里,它们只是没有显示在 Android Studio 中.这是一个屏幕截图:
I have a library project in Android Studio that has been working fine, but today I went to work on it and all of the files are missing except for a few git files. The folders/files are there when I look in the project's folder on my hard drive, they just aren't displaying in Android Studio. Here is a screenshot:
我尝试重新安装和更新 Android Studio,但没有奏效.关于这里发生了什么的任何想法?我该如何解决?
I tried reinstalling and updating Android Studio, but it didn't work. Any ideas as to what is going on here? How can I fix it?
推荐答案
尝试 Import Project...
并导航到您的项目.选择 build.gradle
文件.
Try Import Project...
and navigate to your project. Select build.gradle
file.
一定要等一会儿,这样安卓工作室才能加载你所有的东西.有时重启会有所帮助,但既然你重新安装了它,那应该不是问题.
Be sure to wait for a while, so that android studios can load all your stuff. Sometimes a restart will help, but since you reinstalled it, that shouldn't be the problem.
这篇关于Android Studio 项目文件未显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!