Issue with Importing Ionic App into Android Studio

Have followed the tutorial (Android Development - Ionic Documentation )for setting up Ionic App with Capacitor in Android Studio
installed Android Studio on Windows and then run following command
ionic capacitor run android
The Project Opesn in Android Studio and the avd is installed but I have a few errors in the project and when I try to run the project as an Android APP I get no module specified any ideas what I am doing wrong?