简体   繁体   English

Android Studio更改文件夹结构

[英]Android Studio changes folder structure

currently, I am working on a android side project in my free time. 目前,我在业余时间从事android方面的项目。 As my project grows, I change the project structures so that I can maintain it easily. 随着项目的发展,我会更改项目结构,以便可以轻松维护它。 But whenever I add a sub-folders, the android studio automatically changes the structures as shown below. 但是,每当我添加一个子文件夹时,android studio都会自动更改结构,如下所示。

在此处输入图片说明

If I go to the actual project folder, it is properly structured as "Fragments" folder contains "SignupFragments" sub-folder. 如果我转到实际的项目文件夹,则其结构正确,因为“ Fragments”文件夹包含“ SignupFragments”子文件夹。

Does anyone know how to fix this? 有谁知道如何解决这一问题?

The solution was un-checking "compact empty middle packages" in the directory setting options by clicking the gear button. 解决方案是通过单击齿轮按钮取消选中目录设置选项中的“紧凑空中间包”。 在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM