'How to exclude fragments when selecting basic activity?

When creating a new project in android studio, I select basic activity but it keeps creating fragments by default as well...is there a way to opt out of that? I know i can delete them but it would be ideal to just exclude them upon project creation!

basic activity

fragments

I am targeting min SDK API 21, using Android Studio Arctic Fox 2020.3.1 patch 4



Solution 1:[1]

You can select the Empty activity option in Android studio dialog. In this case, only activity without any fragments will be created.

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Vasily Kabunov