1

I can't create a normal project without jetpack-compose, it always includes its libraries and configurations in Android Studio, and the working project requires not using it.

I don't want Jetpack Compose

I expected it to open everything with xml views, everything normally, and using ActivityCompat in the MainActivity.kt

1 Answer 1

5

During project creation the template that is selected by default is "Empty Activity". That is the modern way to create Android apps and uses Compose, but when you want to create a new project based on XML layouts and views you should select any of the "Views" templates instead:

The new project won't contain any Compose dependencies but starts with a set of XML layout files and the respective code in the activity, depending on the specific template you chose.

0

Not the answer you're looking for? Browse other questions tagged or ask your own question.