:composeApp:wasmJsMain: Could not resolve androidx.room:room-runtime:2.7.0-beta01.
Required by:
project :composeApp
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
:composeApp:wasmJsMain: Could not resolve androidx.sqlite:sqlite-bundled:2.5.0-beta01.
Required by:
project :composeApp
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
:composeApp:wasmJsTest: Could not resolve androidx.room:room-runtime:2.7.0-beta01.
Required by:
project :composeApp
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
:composeApp:wasmJsTest: Could not resolve androidx.sqlite:sqlite-bundled:2.5.0-beta01.
Required by:
project :composeApp
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
< /code>
Версии, которые я использую: < /p>
sqlite = "2.5.0-beta01"
room = "2.7.0-beta01"
< /code>
У меня уже есть артефакты Mavencentral и Google в настройках.gradle.kts: < /p>
pluginManagement {
repositories {
google {
mavenContent {
includeGroupAndSubgroups("androidx")
includeGroupAndSubgroups("com.android")
includeGroupAndSubgroups("com.google")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositories {
google {
mavenContent {
includeGroupAndSubgroups("androidx")
includeGroupAndSubgroups("com.android")
includeGroupAndSubgroups("com.google")
}
}
mavenCentral()
}
}
Я добавляю комнату и Sqlite-связанную в приложение Compose Multiplatform, теперь я получаю эту проблему при синхронизации проекта: < /p> [code]:composeApp:wasmJsMain: Could not resolve androidx.room:room-runtime:2.7.0-beta01. Required by: project :composeApp
Possible solution: - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
:composeApp:wasmJsMain: Could not resolve androidx.sqlite:sqlite-bundled:2.5.0-beta01. Required by: project :composeApp
Possible solution: - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
:composeApp:wasmJsTest: Could not resolve androidx.room:room-runtime:2.7.0-beta01. Required by: project :composeApp
Possible solution: - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
:composeApp:wasmJsTest: Could not resolve androidx.sqlite:sqlite-bundled:2.5.0-beta01. Required by: project :composeApp
Possible solution: - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html < /code> Версии, которые я использую: < /p> sqlite = "2.5.0-beta01" room = "2.7.0-beta01" < /code> У меня уже есть артефакты Mavencentral и Google в настройках.gradle.kts: < /p> pluginManagement { repositories { google { mavenContent { includeGroupAndSubgroups("androidx") includeGroupAndSubgroups("com.android") includeGroupAndSubgroups("com.google") } } mavenCentral() gradlePluginPortal() } }
dependencies { ksp(libs.androidx.room.compiler) } } } [/code] Поскольку это последняя версии комнаты и SQLite, которые поддерживают KMP, я попытался понизить версии, но все еще получил проблему.