question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No static method isTraceInProgress()

See original GitHub issue
java.lang.NoSuchMethodError: No static method isTraceInProgress()Z in class Landroidx/compose/runtime/ComposerKt; or its super classes (declaration of 'androidx.compose.runtime.ComposerKt' appears in /data/app/~~ex5wcn2UwF9AygGG4l0n2Q==/com.mafqud.android-qnIyQNLHppsHRjDR73AKNA==/base.apk)
        at com.google.maps.android.compose.GoogleMapKt.GoogleMap(Unknown Source:6)
        at com.mafqud.android.map.MapScreenKt.MapScreen(MapScreen.kt:33)
        at com.mafqud.android.map.ComposableSingletons$MapFragmentKt$lambda-1$1.invoke(MapFragment.kt:29)
        at com.mafqud.android.map.ComposableSingletons$MapFragmentKt$lambda-1$1.invoke(MapFragment.kt:28)
        at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
        at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
        at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:228)
        at androidx.compose.material3.TextKt.ProvideTextStyle(Text.kt:261)
        at androidx.compose.material3.MaterialThemeKt$MaterialTheme$1.invoke(MaterialTheme.kt:76)
        at androidx.compose.material3.MaterialThemeKt$MaterialTheme$1.invoke(MaterialTheme.kt:75)
        at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
        at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
        at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:228)
        at androidx.compose.material3.MaterialThemeKt.MaterialTheme(MaterialTheme.kt:69)
        at com.mafqud.android.ui.theme.ThemeKt.MafQudTheme(Theme.kt:82)
        at com.mafqud.android.map.ComposableSingletons$MapFragmentKt$lambda-2$1.invoke(MapFragment.kt:28)
        at com.mafqud.android.map.ComposableSingletons$MapFragmentKt$lambda-2$1.invoke(MapFragment.kt:27)
        at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
        at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
arriolaccommented, Mar 15, 2022

@Eng-AhmedShehata what version of Maps Compose are you using and what version of Jetpack Compose? Make sure you are using 1.2.x of Compose with Maps Compose 1.3.0 and up. See releases for more info on required Compose versions.

1reaction
hellosagarcommented, Apr 24, 2022

Its working with 1.2.0-alpha05

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR: java.lang.NoSuchMethodError: No static method ...
NoSuchMethodError: No static method isTraceInProgress()Z in class Landroidx/compose/runtime/ComposerKt #765.
Read more >
Android Jetpack Compose: "No static method ...
Turns out I needed to declare all compose dependencies in my app module too (yeah I am in a multi module project.
Read more >
Compose Runtime - Android Developers
These methods return their current content without peforming a copy as they return ... If no new call is added the state is...
Read more >
Jetpack Compose doesn't work with MPP plugin ... - YouTrack
Any hello world compose application seems to crash, it's not specific to overlays. The condition is to be using kotlin-multiplatform plugin, set up...
Read more >
RequestTracingService (Payara Project 5.183 API) - Javadoc.io
Main service class that provides methods used by interceptors for tracing ... static String · EVENT_BUS_LISTENER_NAME ... boolean, isTraceInProgress().
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found