Closed mertguven closed 2 years ago
I have encountered the same problem. I hope it can be solved quickly
I also have the same issue. The only way it seems to solve the issue is if they stop using the plugin or if they get the plugin owner to update it.
I found that by manually importing stream chat fluitter package and removing all dependencies related to video_compression can make the project run. I adopted this method because I was doing a temporary school homework, stream_chat_flutter.zip
Hi everyone this is the issue on the package https://github.com/jonataslaw/VideoCompress/issues/142 Let's put some pressure on that issue, we're just waiting for them to publish a new release.
Also, we're planning on removing the video compression feature, since there's no easy way to achieve that on flutter That's probably going to happen in v4 (a first beta release should happen in the following days)
add this to your pubspec
dependency_overrides:
video_compress:
git:
url: https://github.com/jonataslaw/VideoCompress.git
ref: master
video_compress: git: url: https://github.com/jonataslaw/VideoCompress.git ref: master
Hi, that solution produces the following warning:
Because project depends on stream_chat_flutter ^3.5.1 which depends on video_compress ^3.0.0, video_compress from hosted is required.
So, because project depends on video_compress from git, version solving failed.
pub get failed (1; So, because project depends on video_compress from git, version solving failed.)
Process finished with exit code 1
@markfili the markdown formatting removed a very important line
dependency_overrides:
video_compress:
git:
url: https://github.com/jonataslaw/VideoCompress.git
ref: master
this is the right snippet
Great, works! thank you for the important line, now I know more!
@markfili are you still experiencing this issue?
@GroovinChip well, the override made the warning go away and the project built normally, so I'd say no more issue (although I'd say that it would be better to handle it without the override but I understand why it won't be done)
OK then, thank you for letting me know! If you have any further issues, please do let us know and we'll be more than happy to help out!
oh, ok, btw I'm not the OP
Ah yes, looks like I mistyped. My apologies!
I found that by manually importing stream chat fluitter package and removing all dependencies related to video_compression can make the project run. I adopted this method because I was doing a temporary school homework,
The file is stream chat Flutter package, all vedio have been deleted_ Compress dependency
My English is machine translation, so it may not be fluent
------------------ 原始邮件 ------------------ 发件人: "GetStream/stream-chat-flutter" @.>; 发送时间: 2022年3月13日(星期天) 上午9:55 @.>; @.**@.>; 主题: Re: [GetStream/stream-chat-flutter] video_compress package kotlin gradle version error (Issue #939)
I also have the same issue. The only way it seems to solve the issue is if they stop using the plugin or if they get the plugin owner to update it.
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>
hey @MikleJack we even removed video compression from v5 so you should be able to run it even without manually removing it
Which packages are you using?
stream_chat_flutter
On what platforms did you experience the issue?
Android
What version are you using?
stream_chat_flutter - v3.5.0
What happened?
Error:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.40 and higher. The following dependencies do not satisfy the required version: project ':video_compress' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.31
Steps to reproduce
Supporting info to reproduce
No response
Relevant log output
Flutter analyze output
No response
Flutter doctor output
Code of Conduct