Landry Norris
06/02/2022, 6:52 PMCannot access 'com.arkivanov.decompose.ComponentContext' which is a supertype of 'com.example.myapp.component.TrimComponent'. Check your module classpath for missing or conflicting dependencies
The normal build process runs just fine, there’s no errors showing up in the IDE, and the app works, but I can’t publish my library because maven-publish tasks rely on the metadata task. I have some parts of the app set up as a library that the main app pulls in.Landry Norris
06/02/2022, 6:54 PMArkadii Ivanov
06/02/2022, 7:07 PMTrimComponent
. You should also add decompose
as a dependency.Landry Norris
06/02/2022, 7:27 PMimplementation("com.arkivanov.decompose:decompose:0.6.0")
Arkadii Ivanov
06/02/2022, 7:36 PMLandry Norris
06/02/2022, 7:40 PMLandry Norris
06/02/2022, 7:42 PMArkadii Ivanov
06/02/2022, 7:43 PMLandry Norris
06/06/2022, 2:08 PMArkadii Ivanov
06/06/2022, 2:11 PMArkadii Ivanov
06/06/2022, 2:15 PMLandry Norris
06/06/2022, 4:00 PMArkadii Ivanov
06/06/2022, 4:03 PMArkadii Ivanov
06/06/2022, 4:06 PMArkadii Ivanov
06/06/2022, 4:13 PM1.2.0-x
, then you can try Decompose version 0.6.0-native-compose-01 - https://github.com/arkivanov/Decompose/releases/tag/0.6.0-native-compose-01
This version uses Kotlin 1.6.21 and Compose 1.2.0-alpha01-dev675
.
It experimentally supports the new iOS and macOS native targets. But if you don't use them, this shouldn't bother you.Landry Norris
06/06/2022, 4:53 PMArkadii Ivanov
06/06/2022, 6:13 PMLandry Norris
06/17/2022, 4:25 PMShabinder Singh
09/19/2023, 8:12 AMCannot access 'in.shabinder.soundbound.parcelize.Parcelable' which is a supertype of 'in.shabinder.soundbound.models.SongModel'. Check your module classpath for missing or conflicting dependencies.
another interesting thing is, the red highlight only comes in androidMain
, other source sets work fine without any ide error, and build also works.
• If I remove library dependency in commonMain, and add in androidMain instead, error disappears from androidMain, but commonMain then obviously cant resolve and build fails.
lmk if I can provide any more details or any helpful info on same, this has been quite annoying since most of code in androidMain accessing model shows error, but works just fine.Arkadii Ivanov
09/19/2023, 8:24 AMArkadii Ivanov
09/19/2023, 8:25 AMShabinder Singh
09/19/2023, 8:29 AMArkadii Ivanov
09/19/2023, 8:38 AMShabinder Singh
09/19/2023, 8:39 AMArkadii Ivanov
09/19/2023, 8:39 AMShabinder Singh
09/19/2023, 8:41 AMIf I remove library dependency in commonMain, and add in androidMain instead, error disappears from androidMain, but commonMain then obviously cant resolve and build fails.
Arkadii Ivanov
09/19/2023, 8:42 AMparcelable
module as a dependency in your Shared module, then this must be an issue with KMP/IDE.Arkadii Ivanov
09/19/2023, 8:42 AMArkadii Ivanov
09/19/2023, 8:43 AMShabinder Singh
09/19/2023, 8:44 AMArkadii Ivanov
09/19/2023, 8:44 AMShabinder Singh
09/19/2023, 8:45 AMArkadii Ivanov
09/19/2023, 8:46 AMShabinder Singh
09/19/2023, 8:47 AMShabinder Singh
09/19/2023, 12:40 PMArkadii Ivanov
09/19/2023, 12:48 PMlib
is Essenty and it doesn't depend on any of your project modules.Shabinder Singh
09/26/2023, 8:16 AM