【问题标题】:Cannot access generated Database Class from sqldelight v1.4.1无法从 sqldelight v1.4.1 访问生成的数据库类
【发布时间】:2020-12-16 13:00:08
【问题描述】:
16:26   Duplicate content roots detected: Path [/Users/androiddeveloper/Documents/udux_android/SharedCode/build/generated/sqldelight/code/MyDatabase] of module [SharedCode_iosMain] was removed from modules [SharedCode_commonMain]

每次我将我的项目导入 android Studio 4.0.1 时。它显示该错误,我无法访问 commonMain 包中的对象,它仅适用于 iosMain 包。

【问题讨论】:

    标签: android-studio kotlin intellij-idea kotlin-multiplatform sqldelight


    【解决方案1】:

    这已在 master 上修复并将在版本 1.4.2 中修复,如果您现在需要修复,您可以使用 1.5.0-SNAPSHOT 版本和快照 maven 存储库 https://oss.sonatype.org/content/repositories/snapshots

    【讨论】:

      猜你喜欢
      • 2021-03-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-01
      • 2015-12-30
      • 2021-11-12
      • 2015-02-19
      相关资源
      最近更新 更多