Ionic + React, building for Android 7.1.1

Looking at my gradle.build file, the app is being built for 9.0 by default.
Do I need to build for 7.1.1 to test on actual device?

Do I need to change any settings in Android Studio?

Using Capacitor.

It’s seeming more and more that I need to switch to Cordova / Angular.

Thank you.

you can changed the settings when you open the project in Android Studio