Repository navigation
Description
Integration
sentry-android
Build System
Gradle
AGP Version
9.0.0
Proguard
Disabled
Version
6.0.0
Steps to Reproduce
- Create new project
- Update default compose project lib versions to latest versions
- Set source compatibility to JavaVersion.VERSION_21
- Configure sentry ( turn on debug ) , add session replay
- Run project
Expected Result
Expected is session replay is working
Actual Result
Error traversing Compose tree. Most likely you're using an unsupported version of androidx.compose.ui:ui. The minimum supported version is 1.5.0. If it's a newer version, please open a github issue with the version you're using, so we can add support for it.
java.lang.NoSuchMethodError: No virtual method getChildren$ui_release()Ljava/util/List; in class Landroidx/compose/ui/node/LayoutNode; or its super classes (declaration of 'androidx.compose.ui.node.LayoutNode' appears in /data/app/~~H3LPWkeeQAW0AD2RV5kcgw==/appid-sYO0avfxlHxmcGSZY-qQxQ==/base.apk)
at io.sentry.android.replay.viewhierarchy.ComposeViewHierarchyNode.traverse(ComposeViewHierarchyNode.kt:293)
at io.sentry.android.replay.viewhierarchy.ComposeViewHierarchyNode.fromView(ComposeViewHierarchyNode.kt:269)
at io.sentry.android.replay.util.ViewsKt.traverse(Views.kt:36)
at io.sentry.android.replay.util.ViewsKt.traverse(Views.kt:52)
at io.sentry.android.replay.util.ViewsKt.traverse(Views.kt:52)
at io.sentry.android.replay.util.ViewsKt.traverse(Views.kt:52)
at io.sentry.android.replay.util.ViewsKt.traverse(Views.kt:52)
at io.sentry.android.replay.screenshot.PixelCopyStrategy.capture$lambda$2(PixelCopyStrategy.kt:94)
at io.sentry.android.replay.screenshot.PixelCopyStrategy$$ExternalSyntheticLambda0.onPixelCopyFinished(D8$$SyntheticClass:0)
at android.view.PixelCopy$1.lambda$onCopyFinished$0(PixelCopy.java:193)
at android.view.PixelCopy$1$$ExternalSyntheticLambda0.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:205)
at android.os.Looper.loop(Looper.java:294)
at android.app.ActivityThread.main(ActivityThread.java:8223)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:977)
Metadata
Metadata
Assignees
Labels
Projects
- StatusShow more project fieldsWaiting for: Product Owner
Activity
linear commentedon Feb 9, 2026
JAVA-297
romtsn commentedon Feb 9, 2026
hi @petarbazant which compose version are you on? If your app contains sensitive data, we recommend switching over to using the Canvas strategy in the meantime.
petarbazant commentedon Feb 9, 2026
hi @romtsn
here is libs.versions.toml.txt
Also it points to self-hosted sentry on private network no outside access
romtsn commentedon Feb 11, 2026
@petarbazant thanks, we'll take a look!