Access resource from an other module

30 views Asked by At

I am building a multi module app. On my "onboarding" module I need to access some resources of the shared module "ui", like colors or dimensions.

So in the build.gradle file of the onboarding module I have

dependencies {
    implementation project(':platform')
    implementation project(':ui')
...

The problem is that the XML files in onboarding module can't access to the resources of ui module.

enter image description here

In the fragments in the onboarding module I also use some classes defined in platform module, so I don't think the problem is on how I import the modules

enter image description here enter image description here

0

There are 0 answers