Does anyone here use compose in a multimodule project? It seems to work fine in single module but I get the above error in a multimodule setup
02/02/2021, 7:02 AM
Yes, I am. Although compose is only activated for the app module, i had different (room related) errors in previous versions when enabling compose for everything.
02/02/2021, 8:47 PM
Interesting. What compose version are you using and what android studio version? I cant figure out why my project builds but doesnt have access to any of the methods at runtime
Could I maybe see the relevant app gradle file?
02/03/2021, 8:17 AM
I'm using compose alpha 11 and AS canary 5. All compose compile configuration is inside the app/build.gradle. Compose dependencies are there, too. It's not any different than a single module project, as no module other than app is using compose.
You could start with a single module app, add compose to the app module and then add other modules. This is my setup.