Comments (5)
@arkivanov yes, this solves the issue. Thanks a lot .
from decompose.
I don't think this is related to Decompose, but rather to Compose 1.6.x.
Please try adding google()
repository in your Gradle configuration.
from decompose.
@arkivanov Thanks for the reply. I have google() added to my gradle configuration. Why i think it is related to deompose because when I lower the version of decompose. Everything works fine. Also I face the same while building this project of other dev who i have some motivation for developing for wasm: https://github.com/mkonkel/GameShop
`enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
repositories {
google()
gradlePluginPortal()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven("https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental")
maven("https://oss.sonatype.org/content/repositories/snapshots")
}
}
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven("https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental")
maven("https://oss.sonatype.org/content/repositories/snapshots")
}
}`
Als0 check my toml file below , i have further tried to bum the version to alpha6
`[versions]
coroutines = "1.7.2"
ktor = "2.3.0"
ktor-wasm = "3.0.0-wasm2"
androidx-activityCompose = "1.8.2"
androidx-appcompat = "1.6.1"
androidx-core-ktx = "1.12.0"
imageLoading = "1.5.2"
decompose = "3.0.0-alpha06"
#essenty = "2.0.0-alpha02"
kotlinDateTime = "0.5.0"
compose = "1.5.4"
coil = "3.0.0-SNAPSHOT"
compose-plugin = "1.6.0-alpha01"
kotlin = "1.9.21"
agp = "8.2.1"
[libraries]
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activityCompose" }
compose-ui = { module = "androidx.compose.ui:ui", version.ref = "compose" }
compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" }
compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "compose" }
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidx-appcompat" }
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidx-core-ktx" }
image-loading = { module = "io.github.qdsfdhvh:image-loader", version.ref = "imageLoading" }
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutines" }
kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "kotlinDateTime" }
ktor-client-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor-wasm" }
ktor-client-darwin = { module = "io.ktor:ktor-client-darwin", version.ref = "ktor-wasm" }
ktor-client-web = { module = "io.ktor:ktor-client-js", version.ref = "ktor-wasm" }
ktor-client-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor-wasm" }
ktor-client-content-negotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktor-wasm" }
ktor-client-serialization-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor-wasm" }
ktor-client-logging = { module = "io.ktor:ktor-client-logging", version.ref = "ktor-wasm" }
#essenty-lifecycle = { group = "com.arkivanov.essenty", name = "lifecycle", version.ref = "essenty" }
arkivanov-decompose = { group = "com.arkivanov.decompose", name = "decompose", version.ref = "decompose" }
arkivanov-jetbrains-uiext = { group = "com.arkivanov.decompose", name = "extensions-compose", version.ref = "decompose" }
#Image downloading
coil-coil = { group = "io.coil-kt.coil3", name = "coil", version.ref = "coil" }
coil-compose = { group = "io.coil-kt.coil3", name = "coil-compose", version.ref = "coil" }
coil-network-ktor = { group = "io.coil-kt.coil3", name = "coil-network-ktor", version.ref = "coil" }
[plugins]
androidApplication = { id = "com.android.application", version.ref = "agp" }
androidLibrary = { id = "com.android.library", version.ref = "agp" }
jetbrainsCompose = { id = "org.jetbrains.compose", version.ref = "compose-plugin" }
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
kotlinCocoapods = { id = "org.jetbrains.kotlin.native.cocoapods", version.ref = "kotlin" }`
from decompose.
Decompose doesn't depend on androidx.annotation:annotation
directly. Version 3.0.0-alpha04
depends on Compose 1.6.0-alpha01
, whereas Decompose 3.0.0-alpha03
depends on Compose 1.5.11
. You can also try updating Decompose to the latest version 3.0.0-alpha07
and Compose to 1.6.0-rc02
. If it doesn't solve the issue, please report a bug here.
from decompose.
Looks related: JetBrains/compose-multiplatform#4277
from decompose.
Related Issues (20)
- Predictive back gesture is not working when started while the main animation is in progress
- Navigation animation causes content to not invalidate HOT 9
- crash: on 3.0.0-alpha07 java.lang.NoSuchMethodError HOT 4
- Expose more parameters for predictive back animations HOT 1
- Document compose BackHandler <> decompose backHandler <> predictive back interaction HOT 1
- Expand the documentation on why do we need components HOT 1
- `LifecycleController` does not consider `resume`/`pause` events. HOT 1
- Consider adding an overload of `predictiveBackAnimation` that has a selector lambda for **both** animation and fallback animation HOT 1
- Describe creating custom navigation models in the docs HOT 1
- How to use StateValue in SwiftUI Textfield HOT 2
- When the app is closed then the subscribeAsState() doesn't work HOT 12
- Print configurations when the uniqueness violation is detected HOT 1
- Accessing ViewModel inside component {Question}
- Где посмотреть на реализацию CustomNavigationComponentChildren HOT 1
- Consider adding some sort of integration to allow easier use of shared element transitions between screens. HOT 7
- Import and open sample project HOT 4
- Can not find the version for installation?
- Support new Compose Multiplatform Lifecycle (and maybe ViewModel) HOT 2
- Update samples and templates HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from decompose.