If you're looking to develop an Android app you might be led to Android Studio. It's the IDE recommended and developed by Google for the express purpose of Android development. It does what it needs to, but if you look at the system requirements you will see some alarming numbers. If you're using an older system, or simply don't want to use AndroidStudio, this is the guide for you.
We won't be using many apt packages due to permissions issues and incompatible versions. That being said:
$ sudo apt install openjdk-17-jdk sdkmanager kotlin