Plugin [id: 'com.android.application', version: '8.0', apply: false] was not found in any of the following sources:

I’m trying to run the starter project but came across this error. Any help would be appreciated. [:

I got 04-building-lists-with-jetpack-compose/projects working by updating the Gradle JDK to 20.0.1 and updating gradle-wrapper.properties to distributionUrl=https://services.gradle.org/distributions/gradle-8.1-bin.zip
The latest as of this post.

Edit: proof its working