compose-multiplatform icon indicating copy to clipboard operation
compose-multiplatform copied to clipboard

Replace Jetpack Compose version in error messages by Compose for Desktop version

Open igordmn opened this issue 5 years ago • 2 comments

If we are using Compose for Desktop (0.3.0-build135) then there may be error messages which contains version 1.0.0-alpha10. It is version of Jetpack Compose for Android, not for desktop.

e: This version (1.0.0-alpha10) of the Compose Compiler requires Kotlin version 1.4.21 but you appear to be using Kotlin version 1.4.20 which is not known to be compatible.  Please fix your configuration (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileKotlin'.
> Compilation error. See log for more details
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 15s

Proper message will be:

e: This version (0.3.0-build135) of the Compose Compiler ...

igordmn avatar Dec 15 '20 09:12 igordmn

I'm having the same issue with 0.3.0-build140

sonique6784 avatar Jan 18 '21 20:01 sonique6784

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

okushnikov avatar Aug 26 '24 17:08 okushnikov