m

    Marko Novakovic

    1 year ago
    I have a problem with Accompanist image loading crashing my app, error in thread
    java.lang.NoSuchFieldError: No field $stable of type I in class Landroidx/compose/animation/core/Transition; or its superclasses (declaration of 'androidx.compose.animation.core.Transition' appears in /data/app/~~LWU7qnvKXwgH5SFuoPBSXA==/com.marko.laloupecompose-rL1VazP7-pkMTHvy5_fi7A==/base.apk)
            at com.google.accompanist.imageloading.MaterialLoadingImage.updateFadeInTransition(MaterialLoadingImage.kt:53)
            at com.google.accompanist.imageloading.LoadPainterKt.animateFadeInColorFilter(LoadPainter.kt:382)
            at com.google.accompanist.imageloading.LoadPainterKt.access$animateFadeInColorFilter(LoadPainter.kt:1)
            at com.google.accompanist.imageloading.LoadPainterKt$animateFadeInColorFilter$3.invoke(Unknown Source:10)
            at com.google.accompanist.imageloading.LoadPainterKt$animateFadeInColorFilter$3.invoke(Unknown Source:10)
            at androidx.compose.runtime.RecomposeScopeImpl.compose(RecomposeScopeImpl.kt:140)
            at androidx.compose.runtime.ComposerImpl.recomposeToGroupEnd(Composer.kt:2156)
            at androidx.compose.runtime.ComposerImpl.skipCurrentGroup(Composer.kt:2399)
            at androidx.compose.runtime.ComposerImpl$doCompose$2$5.invoke(Composer.kt:2580)
            at androidx.compose.runtime.ComposerImpl$doCompose$2$5.invoke(Composer.kt:2573)
            at androidx.compose.runtime.SnapshotStateKt.observeDerivedStateRecalculations(SnapshotState.kt:540)
            at androidx.compose.runtime.ComposerImpl.doCompose(Composer.kt:2566)
            at androidx.compose.runtime.ComposerImpl.recompose$runtime_release(Composer.kt:2542)
            at androidx.compose.runtime.CompositionImpl.recompose(Composition.kt:613)
            at androidx.compose.runtime.Recomposer.performRecompose(Recomposer.kt:764)
            at androidx.compose.runtime.Recomposer.access$performRecompose(Recomposer.kt:103)
            at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$2.invoke(Recomposer.kt:447)
            at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$2.invoke(Recomposer.kt:416)
            at androidx.compose.ui.platform.AndroidUiFrameClock$withFrameNanos$2$callback$1.doFrame(AndroidUiFrameClock.android.kt:34)
            at androidx.compose.ui.platform.AndroidUiDispatcher.performFrameDispatch(AndroidUiDispatcher.android.kt:109)
            at androidx.compose.ui.platform.AndroidUiDispatcher.access$performFrameDispatch(AndroidUiDispatcher.android.kt:41)
            at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.doFrame(AndroidUiDispatcher.android.kt:69)
            at android.view.Choreographer$CallbackRecord.run(Choreographer.java:970)
            at android.view.Choreographer.doCallbacks(Choreographer.java:796)
            at android.view.Choreographer.doFrame(Choreographer.java:727)
            at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:957)
            at android.os.Handler.handleCallback(Handler.java:907)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:223)
            at android.app.ActivityThread.main(ActivityThread.java:7478)
            at java.lang.reflect.Method.invoke(Native Method)
            at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:549)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
    brandonmcansh

    brandonmcansh

    1 year ago
    What version of compose and what accompanist version
    m

    Marko Novakovic

    1 year ago
    accompanist = "0.11.1"
    compose = "1.0.0-rc01"
    brandonmcansh

    brandonmcansh

    1 year ago
    Latest accompanist to accompany the RC is 0.13.0 😃
    m

    Marko Novakovic

    1 year ago
    just saw it, doing gradle sync as I write