Assigned
Status Update
Comments
xr...@gmail.com <xr...@gmail.com> #2
Hello,
I'm only a little familiar with Power Apps. Is your app a mobile app or a web app?
This link
The primary
If your app does not work on Android mobile devices, you can also consider the
xr...@gmail.com <xr...@gmail.com> #3
xr...@gmail.com <xr...@gmail.com> #4
This time it is different and not related to onDestroy crash. Should I create a separate ticket?
xr...@gmail.com <xr...@gmail.com> #5
I cannot replicate this crash on my devices, but Play Console still reports a lot of crashes with the same error as "LifecycleOwner of this LifecycleRegistry is already garbage collected. It is too late to change lifecycle state."
Description
Version used: 1.0.0-alpha05
Devices/Android versions reproduced on: Any device , including emulators
Every time I delete my tile, application crashes. I do not have onDestroy code. Error points to GlanceTileService line 331
_________
FATAL EXCEPTION: main (Ask Gemini)
java.lang.ClassCastException: kotlinx.coroutines.StandaloneCoroutine cannot be cast to android.content.Context
at androidx.glance.wear.tiles.GlanceTileService$onTileRemoveEvent$1.invokeSuspend(GlanceTileService.kt:331)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.DispatchedContinuationKt.resumeCancellableWith(DispatchedContinuation.kt:367)
at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:30)
at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable$default(Cancellable.kt:25)
at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:110)
at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)
at kotlinx.coroutines.BuildersKt.launch(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47)
at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source:1)
at androidx.glance.wear.tiles.GlanceTileService.onTileRemoveEvent(GlanceTileService.kt:329)
at androidx.wear.tiles.TileService$TileProviderWrapper.lambda$onTileRemoveEvent$5$androidx-wear-tiles-TileService$TileProviderWrapper(TileService.java:360)
at androidx.wear.tiles.TileService$TileProviderWrapper$$ExternalSyntheticLambda6.run(D8$$SyntheticClass:0)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7898)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.runtime.BroadcastFrameClock@c46c145, StandaloneCoroutine{Cancelling}@d825cfe, Dispatchers.Main.immediate]
_____________