Android Studio项目文件未显示 [英] Android Studio project files not showing up

查看:424
本文介绍了Android Studio项目文件未显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在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.

请务必等待一段时间,以便android studio可以加载您的所有内容.有时重新启动会有所帮助,但是由于您已重新安装它,所以这不是问题.

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屋!

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