Make the project support Jetpack Compose.

Create a new project as CompApp.

 

On the Giraffe version, as follows:
Select Empty (Compose) Activity and click Next.

 

The name of the app is as follows.

 

It will take some time to synchronize the gradle, but the environment will be set up as shown below.