I think the issue lies with the version of java used by default. Android studio V34 (at least the gradle version, which some plugins may use) uses Java 17. Take a look at https://developer.android.com/build/jdks#compileSdk and see if this might help.
PS - I don't think you need to reinstall Android Studio, just install the version of Java it wants