I just pulled up the android studio again and the current SDK version appears to have major bugs. While on SDK version 31 I get an error message saying SDK tools are corrupted and to uninstall then reinstall version 31.
When I switch to version 30 I get another error message stating that "the minCompileSdk (31) specified in a dependency's AAR metadata (META-INF/com/android/build/Gradle/aarmetadata.properties) is greater than this module's compileSdkVersion", and I can't find any sources on google for altering minCompileSdk.
I just need to fix one of these problems, not both.
p.s. - I have already uninstalled and reinstalled APK 31 several times.