Closed Velord closed 1 month ago
Hi! 👋
You want to go with your try 2:
After that try again and let me know!
I added to all modules arg("compose-destinations.moduleName", "moduleX")
where X is unique name for certain module. After that I received an error on build:
e: file:///D:/Android%20Project/ComposeScreenExample/app/build/generated/ksp/developDebug/kotlin/com/ramcosta/composedestinations/generated/moduleapp/navargs/ArgsToSavedStateHandle.kt:6:74 Unresolved reference: navargs
Issue was reported here and is already fixed.
https://github.com/raamcosta/compose-destinations/issues/631
Will be up soon today.
Thanks, will be waiting
Btw I use "2.1.0-beta02".
com.ramcosta.composedestinations.generated.ModuleDestinations$Includes is defined multiple times: ProjectPath\ui\feature-settings\build\.transforms\2d944e4462518b939e46cbbcdcc610c7\transformed\bundleLibRuntimeToDirDebug\com\ramcosta\composedestinations\generated\ModuleDestinations$Includes.dex, ProjectPath\ui\feature-bottomnavigation\build\.transforms\12913506a8e8a347cda5275057060a14\transformed\bundleLibRuntimeToDirDebug\com\ramcosta\composedestinations\generated\ModuleDestinations$Includes.dex
I have
app
module which defines all graphs.Also
bottomnavigation
module which defines destination:I am trying to split destinations that belong to bottom navigation graph to different modules. First step is to move 'settings' destination to different module. Exactly at this step error occurs.
My
settings
module has:arg("compose-destinations.moduleName", "settings")
andarg("compose-destinations.moduleName", "bottom")
. Error occurs in that case:[ksp] com.ramcosta.composedestinations.codegen.commons.IllegalDestinationsSetup: Check com.google.devtools.ksp.symbol.NonExistLocation@3d60ec1b for unresolved symbols.
arg("compose-destinations.codeGenPackageName", xxxxx.settings")
andarg("compose-destinations.codeGenPackageName", "xxxxx.bottom")
. Error occurs in that case:[ksp] com.ramcosta.composedestinations.codegen.commons.IllegalDestinationsSetup: Check com.google.devtools.ksp.symbol.NonExistLocation@41e0988e for unresolved symbols.