Hello all. Just upgraded to latest compose lib ve...
# compose
b
Hello all. Just upgraded to latest compose lib versions as well as gradle to 8.2. Now seeing this:
Copy code
Compose Runtime internal error. Unexpected or incorrect use of the Compose internal runtime API (pending composition has not been applied)
Stack trace doesn’t contain any of my classes, so hard to know where to start looking. Aside from rolling back all anyone else run into this?
plus1 1
v
can you post the full stack trace in the thread?
👍 1
b
Untitled
v
are you using the BOM or separate versions? which versions exactly?
b
Not using BOM.
Copy code
def compose_version = '1.6.0'
implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.material3:material3:1.1.2"
implementation "androidx.compose.material:material:$compose_version"
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
implementation "androidx.compose.material:material-icons-extended:1.6.0"
s
This exception usually obscures some other crash that happened before, but wasn't logged because of coroutine dispatch
Is the crash reproducible?
b
yes
This exception usually obscures some other crash that happened before, but wasn’t logged because of coroutine dispatch
Indeed, looks like the first crash was caused by an exception in my workmanager initialization. Got past that,
Copy code
java.lang.NoSuchMethodError: No virtual method at(Ljava/lang/Object;I)Landroidx/compose/animation/core/KeyframesSpec$KeyframeEntity; in class Landroidx/compose/animation/core/KeyframesSpec$KeyframesSpecConfig; or its super classes (declaration of 'androidx.compose.animation.core.KeyframesSpec$KeyframesSpecConfig' appears in /data/app/~~8KyUNQn1J3H2a8njAorCjA==/mil.nga.msi.debug-wRMd2bm_wH3YXuUdjCI3Qg==/base.apk)
                                                                                                    	at androidx.compose.material3.ProgressIndicatorKt$CircularProgressIndicator$endAngle$1.invoke(ProgressIndicator.kt:371)
                                                                                                    	at androidx.compose.material3.ProgressIndicatorKt$CircularProgressIndicator$endAngle$1.invoke(ProgressIndicator.kt:369)
s
This one is a binary compatibility issue, should be fixed this week You can try enforcing versions of animation/material to match the latest version
👍 3
👍🏼 1
b
TY
s
It looks like this issue https://issuetracker.google.com/issues/322214617 btw, if you wanna star to get updates on when it's fixed.
👍 1