07-20-2023, 06:44 AM
I have problems referencing my android library modules in my projects. Beside the main app module I use to have an android library module with either util stuff or as data module. I reference it in app module like that:
dependencies {
implementation project(":data")
}
When I build the project, it´s giving me lot of error messages `'Unresolved reference: ...'` for all stuff that I reference in the app module to the android library module. But the IDE itself doesn´t have a problem, Intelligent finds all classes, interfaces etc., imports are fine, nothing is red. The android library module itself builds and creates `aar-file` in the output. It´s the `compileDebugKotlin` task that fails
Any general idea what may be related to that?
dependencies {
implementation project(":data")
}
When I build the project, it´s giving me lot of error messages `'Unresolved reference: ...'` for all stuff that I reference in the app module to the android library module. But the IDE itself doesn´t have a problem, Intelligent finds all classes, interfaces etc., imports are fine, nothing is red. The android library module itself builds and creates `aar-file` in the output. It´s the `compileDebugKotlin` task that fails
Any general idea what may be related to that?