On creating a new Android Application Project, MainActivity.java under its package name should be generated automatically in src folder &
MainActivity.java
There is an option to select whether to generate MainActivity and activity_main.xml. Are you sure that you have selected those ? Make sure to select that.
MainActivity
activity_main.xml
Without that, my project looks the same as yours: