For a detailed explanation see this youtube video: https://www.youtube.com/watch?v=BcmPW3ji_MA
We run Android and we press New Project button
Then we select the Empty Activity template
This is the code for the new application
We add the following dependencies in the build.gradle.kts(app) file
implementation ("androidx.biometric:biometric:1.1.0")
implementation ("androidx.appcompat:appcompat:1.4.1")