Android的工作室:添加文件后,如何“刷新”? [英] Android Studio: How to 'Refresh' after adding file?

查看:440
本文介绍了Android的工作室:添加文件后,如何“刷新”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想布局添加到Android项目:

I am trying to add a layout to an Android project:

右键点击 RES 文件夹新建|目录。该目录创建在应用程序/ RES 但是不显示。也许是因为空迪尔斯默认情况下隐藏?又到Windows资源管理器并添加文件到新创建的目录(隐藏Android Studio中)。回到工作室,我怎么能刷新项目结构,以显示新创建的目录及其下的文件?

Right clicked on res folder New | Directory. The directory was created however not shown under app/res. Maybe because empty dirs are hidden by default? Went to Windows explorer and added a file to the newly created directory (hidden in Android Studio). Back in the Studio, how can I 'refresh' the project structure to show the newly created directory and the file under it?

从本质上讲,我的问题是,什么是Eclipse的刷新菜单选项替代?

Essentially my question is, what is the alternate to Eclipse' Refresh menu option?

推荐答案

如果我发现Android的工作室是不同步我使用的文件系统文件&GT;同步。或等价,<大骨节病>键Crtl + <大骨节病>替代 + <大骨节病>是或箭头菜单按钮的小圆圈。

If I find that Android Studio is out of synch with the file system I use File->Synchronize. Or equivalently, Crtl+Alt+Y or the little circle with arrows menu button.

这篇关于Android的工作室:添加文件后,如何“刷新”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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