After I started my Android project by selecting Kotlin as my language.The app gets an error when trying to sync with Kotlin gradle:
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all artifacts for configuration ':classpath'.
Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: No cached version of org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.71 available for offline mode.
How can I fix this?