Flutter app for 10 years old devices

Hi, I need to develop app for 10 years old devices (Android and iOS). I want to use:

  • Java 8
  • Gradle 7.3.1
  • Gradle Wrapper 7.4
  • Kotlin 1.7.10

How Can I install an environment to develop on Mac with VS Code? Should I install an older version of Android studio? which components should I use?

As you indicated in your title that you want to use Flutter, isn’t this question better targeted at some Flutter community?