简体   繁体   English

如何禁用 Android Studio 3.6 多碎片

[英]How do I disable Android Studio 3.6 multiple fragmentation

After my update to 3.6 from 3.5, whenever I try starting a new project, two fragments are created automatically and that is very difficult to manage.在我从 3.5 更新到 3.6 之后,每当我尝试开始一个新项目时,都会自动创建两个片段,这很难管理。 How do I disable this?如何禁用此功能?

I got you.我接到你了。 It is happening because you are not selecting 'Empty Activity' from project template dialog while creating new project.这是因为您在创建新项目时没有从项目模板对话框中选择“空活动”。 You just have to select 'Empty Activity' while creating new project (like the image below).在创建新项目时,您只需要 select 'Empty Activity'(如下图所示)。 That's it.而已。

在此处输入图像描述

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

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