m
image.png
s
Looks like you have an incomplete Gradle project, for example, wrapper files are missing. You can recreate the Gradle project from scratch in the IDE File | New Project | Gradle, then apply the changes you have here
💯 1
s
Was just writing the same :) Seems unrelated to compose.You're trying to run the
wrapper
task on the
videoPlayer:demo
project, but your project structure looks like it only has a
demo
folder, missing the parent
videoPlayer
module. It will never work like this. You need to create a valid Gradle project first.
m
it's now giving me this error:
s
The error is telling you what's wrong: you must use Kotlin 1.5.30, but are using 1.5.31
m
unfortunately, it isn't compatible with my ide either
message has been deleted
I hope there's another way to play videos on this
s
The version of the Kotlin plugin for the IDE is not the version of Kotlin you're using in the project. The latter is what matters in this case, and you're looking at the former. Please refer to the getting started docs on the Kotlin website for further info on what's the difference and how to set either