there is a difference between minimum API and target API…
minimum API should be as low as possible, so your app can run on as much devices as possible… and as you have an Android 9 device then you should set the minumum to at least the API your device is able to run it…
target API is 30 for new apps if you want to upload it to Google Play… you have to wait for the new Kodular version to be able to create an app, which targets API 30… or use the workaround