I needed to install androidx/lifecycle/LifecycleProcessor from the SDK Manager for a library. After downloading it, I ran into an issue when trying to run the project. The error message stated:
error: Could not load processor class file due to 'androidx/lifecycle/LifecycleProcessor has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 58.0'.
To solve this problem, I downloaded JDK 17, which worked. However, now neither the SDK Manager nor Jetify will run due to JDK 17. Any help would be greatly appreciated.