Elka
06/10/2020, 11:00 AM:library
• A Kotlin MP module targeting iOS and Android. :core.
• The Android module :library is dependent on :core . In build.gradle (library) , I added api project(":core") to the dependencies.
Repository2 is composed
• Android App :app
• Common Kotlin MP module targeting iOS and Android :common
• The :app is dependent on :library . In build.gradle (app) I added implementation linkto:Library
• The :common module is dependent only on :core. In build.gradle (common) I added api linkto:core.
The build works fine but I am getting this IDE error:
"Cannot access class X, Check your module classpath for missing or conflicting dependencies". X is a class in :core
Any idea on how to solve this as the IDE errors are very annoying...
Kotlin 1.3.72Liliia
06/10/2020, 11:16 AMElka
06/10/2020, 11:17 AMElka
06/10/2020, 11:18 AM:library and :coreElka
06/12/2020, 6:45 AMSqliteDriver , from the :app module. Any workarounds or ideas why this is happening?