I am new to android development, and I have been using the command line tools to create an android project. I followed all the instructions given in the tutorial at android
If you are using SDK 28 or higher, you need to migrate to AndroidX library.
With Android Studio 3.2 and higher, you can migrate an existing project to AndroidX by selecting Refactor > Migrate to AndroidX from the menu bar.