如何在Android Studio 3.0.1中更改新项目的默认文件结构?

时间:2023-02-05 18:01:15

I've been trying to setup android studio. All the tutorials online follow a very simple process of installing and making a new project by simply following the prompts. However, whenever I make a new project, my default file structure is different. I'm currently using Android Studio 3.0.1.

我一直在尝试设置android studio。所有在线教程都遵循一个非常简单的安装和制作新项目的过程,只需按照提示操作即可。但是,每当我创建一个新项目时,我的默认文件结构都不同。我目前正在使用Android Studio 3.0.1。

This is what I want to create whenever I make a new project. 如何在Android Studio 3.0.1中更改新项目的默认文件结构?

这是我想要创建一个新项目时想要创建的内容。

This is what I actually get.

这就是我实际得到的。

如何在Android Studio 3.0.1中更改新项目的默认文件结构?

In particular, certain folders are missing, such as the manifest folder, and res folder whenever I create a new project.

特别是,每当我创建一个新项目时,某些文件夹都会丢失,例如manifest文件夹和res文件夹。

How can I make the desired structure every time I make a new project?

每次创建新项目时,如何制作所需的结构?

I'm sure it technically doesn't matter, but I'd like to be able to closely follow tutorials to make it easier to learn. I've been at this for an embarrassingly large amount of time, including several re installations. This has happened to me on two machines, both a windows computer and a mac.

我确信它在技术上并不重要,但我希望能够密切关注教程,以便更容易学习。我一直在这方面花费了大量的时间,包括几次重新安装。在两台机器上都发生了这种情况,包括Windows计算机和Mac。

I've tried changing the compact empty middle packages. Here it is before, 如何在Android Studio 3.0.1中更改新项目的默认文件结构? And after. 如何在Android Studio 3.0.1中更改新项目的默认文件结构?

我试过改变紧凑的空中包。这是以前,之后。

Thanks!

1 个解决方案

#1


0  

如何在Android Studio 3.0.1中更改新项目的默认文件结构?

In the image go to Setting icon and choose Compact Empty Middle Packages .

在图像中转到“设置”图标,然后选择“压缩空中间包”。

#1


0  

如何在Android Studio 3.0.1中更改新项目的默认文件结构?

In the image go to Setting icon and choose Compact Empty Middle Packages .

在图像中转到“设置”图标,然后选择“压缩空中间包”。