Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No static method forceEnableAppTracing()V in class Landroidx/tracing/Trace; or its super classes (declaration of 'androidx.tracing.Trace' #1755

Closed
ZubairAkber opened this issue Apr 11, 2023 · 26 comments

Comments

@ZubairAkber
Copy link

Description

I was facing #1642 issue, to resolve this i just move to 3.6.0-alpha01 then it starts giving me the error i have mentioned below, i have tried adding androidx.tracing:tracing:1.0.0 but this doesn't resolve the issue

Actual Results

No static method forceEnableAppTracing()V in class Landroidx/tracing/Trace; or its super classes (declaration of 'androidx.tracing.Trace' appears in /data/app/~~7vP7f0zShEgpGBRHAXwe8w==/com.package.name-uwQ1nREqMw5kVIkHPLTwLQ==/base.apk)
at androidx.test.platform.tracing.AndroidXTracer.enableTracing(AndroidXTracer.java:57)
at androidx.test.platform.tracing.Tracing.(Tracing.java:54)
at androidx.test.platform.tracing.Tracing.(Tracing.java:48)
at androidx.test.platform.tracing.Tracing.getInstance(Tracing.java:64)
at androidx.test.espresso.base.BaseLayerModule.providesTracing(BaseLayerModule.java:209)
at androidx.test.espresso.base.BaseLayerModule_ProvidesTracingFactory.providesTracing(BaseLayerModule_ProvidesTracingFactory.java:31)
at androidx.test.espresso.base.BaseLayerModule_ProvidesTracingFactory.get(BaseLayerModule_ProvidesTracingFactory.java:23)
at androidx.test.espresso.base.BaseLayerModule_ProvidesTracingFactory.get(BaseLayerModule_ProvidesTracingFactory.java:9)
at androidx.test.espresso.core.internal.deps.dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
at androidx.test.espresso.base.IdlingResourceRegistry_Factory.get(IdlingResourceRegistry_Factory.java:28)
at androidx.test.espresso.base.IdlingResourceRegistry_Factory.get(IdlingResourceRegistry_Factory.java:10)
at androidx.test.espresso.core.internal.deps.dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
at androidx.test.espresso.DaggerBaseLayerComponent.idlingResourceRegistry(DaggerBaseLayerComponent.java:180)
at androidx.test.espresso.Espresso.(Espresso.java:67)
at androidx.test.espresso.Espresso.onView(Espresso.java:89)

AndroidX Test and Android OS Versions

testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:rules:1.5.0'
androidTestImplementation 'androidx.test:runner:1.5.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.0-alpha01'
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.6.0-alpha01'
androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.6.0-alpha01'
androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'

Link to a public git repo demonstrating the problem:

@marciogranzotto
Copy link

I have the same issue

@utzcoz
Copy link
Contributor

utzcoz commented Apr 13, 2023

@ZubairAkber I think you need to use androidx.tracing:tracing 1.1.0-beta01+. Looks like the forceEnableAppTracing was exposured from 1.10-beta01, see https://cs.android.com/search?q=forceEnableAppTracing&sq=&ss=androidx.

@brettchabot
Copy link
Collaborator

Correct this is an AGP bug. The workaround is to add a

"implementation androidx.tracing:tracing:1.1.0" clause

@leinardi
Copy link

After upgrading from Compose 1.5.0-alpha02 to 1.5.0-alpha03 I'm getting this error. Adding implementation androidx.tracing:tracing:1.1.0 did not help (was already using that version).

@leinardi
Copy link

@brettchabot can this ticket be re-open or should I create a new one?

@brettchabot
Copy link
Collaborator

Can you examine the output of 'gradle dependencies' and ensure androidx.tracing:tracing:1.1.0 is actually being used. It seems possible that the new version of compose is forcing an older version

@leinardi
Copy link

leinardi commented Apr 26, 2023

I don't why it stays to 1.0.0 despite me adding explicitely implementation androidx.tracing:tracing:1.1.0.

this is the change in the deps with Compose alpha03

Index: app/versions/dependencies/debugAndroidTestRuntimeClasspathDependencies.txt
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/app/versions/dependencies/debugAndroidTestRuntimeClasspathDependencies.txt b/app/versions/dependencies/debugAndroidTestRuntimeClasspathDependencies.txt
--- a/app/versions/dependencies/debugAndroidTestRuntimeClasspathDependencies.txt	(revision 3ae98b83a3c464924b1487cbb9349d7e8cd1ba14)
+++ b/app/versions/dependencies/debugAndroidTestRuntimeClasspathDependencies.txt	(date 1682528961281)
@@ -5,7 +5,7 @@
 
 debugAndroidTestRuntimeClasspath - Runtime classpath of /debugAndroidTest.
 +--- project :modules:library-test-android
-|    +--- androidx.compose.ui:ui:1.5.0-alpha02
+|    +--- androidx.compose.ui:ui:1.5.0-alpha03
 |    |    +--- androidx.activity:activity-ktx:1.7.0 -> 1.7.1
 |    |    |    +--- androidx.activity:activity:1.7.1
 |    |    |    |    +--- androidx.annotation:annotation:1.1.0 -> 1.6.0
@@ -15,7 +15,7 @@
 |    |    |    |    |              \--- org.jetbrains:annotations:13.0 -> 23.0.0
 |    |    |    |    +--- androidx.collection:collection:1.0.0 -> 1.2.0
 |    |    |    |    |    \--- androidx.annotation:annotation:1.1.0 -> 1.6.0 (*)
-|    |    |    |    +--- androidx.core:core:1.8.0 -> 1.11.0-alpha02
+|    |    |    |    +--- androidx.core:core:1.8.0 -> 1.11.0-alpha03
 |    |    |    |    |    +--- androidx.annotation:annotation:1.6.0 (*)
 |    |    |    |    |    +--- androidx.annotation:annotation-experimental:1.3.0
 |    |    |    |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.7.10 -> 1.8.20 (*)
@@ -77,7 +77,7 @@
 |    |    |    |    |    +--- androidx.versionedparcelable:versionedparcelable:1.1.1
 |    |    |    |    |    |    +--- androidx.annotation:annotation:1.1.0 -> 1.6.0 (*)
 |    |    |    |    |    |    \--- androidx.collection:collection:1.0.0 -> 1.2.0 (*)
-|    |    |    |    |    \--- androidx.core:core-ktx:1.11.0-alpha02 (c)
+|    |    |    |    |    \--- androidx.core:core-ktx:1.11.0-alpha03 (c)
 |    |    |    |    +--- androidx.lifecycle:lifecycle-runtime:2.6.1 (*)
 |    |    |    |    +--- androidx.lifecycle:lifecycle-viewmodel:2.6.1
 |    |    |    |    |    +--- androidx.annotation:annotation:1.1.0 -> 1.6.0 (*)
@@ -91,11 +91,11 @@
 |    |    |    |    |    \--- androidx.lifecycle:lifecycle-livedata-core:2.6.1 (c)
 |    |    |    |    +--- androidx.lifecycle:lifecycle-viewmodel-savedstate:2.6.1
 |    |    |    |    |    +--- androidx.annotation:annotation:1.0.0 -> 1.6.0 (*)
-|    |    |    |    |    +--- androidx.core:core-ktx:1.2.0 -> 1.11.0-alpha02
+|    |    |    |    |    +--- androidx.core:core-ktx:1.2.0 -> 1.11.0-alpha03
 |    |    |    |    |    |    +--- androidx.annotation:annotation:1.1.0 -> 1.6.0 (*)
-|    |    |    |    |    |    +--- androidx.core:core:1.11.0-alpha02 (*)
-|    |    |    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.10 -> 1.8.20 (*)
-|    |    |    |    |    |    \--- androidx.core:core:1.11.0-alpha02 (c)
+|    |    |    |    |    |    +--- androidx.core:core:1.11.0-alpha03 (*)
+|    |    |    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.20 (*)
+|    |    |    |    |    |    \--- androidx.core:core:1.11.0-alpha03 (c)
 |    |    |    |    |    +--- androidx.lifecycle:lifecycle-livedata-core:2.6.1
 |    |    |    |    |    |    +--- androidx.arch.core:core-common:2.1.0 -> 2.2.0 (*)
 |    |    |    |    |    |    +--- androidx.arch.core:core-runtime:2.1.0 -> 2.2.0 (*)
@@ -130,7 +130,7 @@
 |    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.10 -> 1.8.20 (*)
 |    |    |    |    +--- androidx.activity:activity-compose:1.7.1 (c)
 |    |    |    |    \--- androidx.activity:activity-ktx:1.7.1 (c)
-|    |    |    +--- androidx.core:core-ktx:1.1.0 -> 1.11.0-alpha02 (*)
+|    |    |    +--- androidx.core:core-ktx:1.1.0 -> 1.11.0-alpha03 (*)
 |    |    |    +--- androidx.lifecycle:lifecycle-runtime-ktx:2.6.1
 |    |    |    |    +--- androidx.annotation:annotation:1.0.0 -> 1.6.0 (*)
 |    |    |    |    +--- androidx.lifecycle:lifecycle-runtime:2.6.1 (*)
@@ -163,80 +163,80 @@
 |    |    |    \--- androidx.activity:activity-compose:1.7.1 (c)
 |    |    +--- androidx.annotation:annotation:1.5.0 -> 1.6.0 (*)
 |    |    +--- androidx.autofill:autofill:1.0.0
-|    |    |    \--- androidx.core:core:1.1.0 -> 1.11.0-alpha02 (*)
+|    |    |    \--- androidx.core:core:1.1.0 -> 1.11.0-alpha03 (*)
 |    |    +--- androidx.collection:collection:1.0.0 -> 1.2.0 (*)
-|    |    +--- androidx.compose.runtime:runtime:1.5.0-alpha02
+|    |    +--- androidx.compose.runtime:runtime:1.5.0-alpha03
 |    |    |    +--- androidx.annotation:annotation:1.1.0 -> 1.6.0 (*)
-|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.10 -> 1.8.20 (*)
+|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.20 (*)
 |    |    |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 (*)
-|    |    |    \--- androidx.compose.runtime:runtime-saveable:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.runtime:runtime-saveable:1.5.0-alpha02
+|    |    |    \--- androidx.compose.runtime:runtime-saveable:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.runtime:runtime-saveable:1.5.0-alpha03
 |    |    |    +--- androidx.annotation:annotation:1.1.0 -> 1.6.0 (*)
-|    |    |    +--- androidx.compose.runtime:runtime:1.5.0-alpha02 (*)
-|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.10 -> 1.8.20 (*)
-|    |    |    \--- androidx.compose.runtime:runtime:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha02
+|    |    |    +--- androidx.compose.runtime:runtime:1.5.0-alpha03 (*)
+|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.20 (*)
+|    |    |    \--- androidx.compose.runtime:runtime:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha03
 |    |    |    +--- androidx.annotation:annotation:1.1.0 -> 1.6.0 (*)
-|    |    |    +--- androidx.compose.runtime:runtime:1.2.1 -> 1.5.0-alpha02 (*)
-|    |    |    +--- androidx.compose.ui:ui-util:1.5.0-alpha02
-|    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.10 -> 1.8.20 (*)
-|    |    |    |    +--- androidx.compose.ui:ui:1.5.0-alpha02 (c)
-|    |    |    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha02 (c)
-|    |    |    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha02 (c)
-|    |    |    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha02 (c)
-|    |    |    |    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha02 (c)
-|    |    |    |    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha02 (c)
-|    |    |    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha02 (c)
-|    |    |    |    \--- androidx.compose.ui:ui-unit:1.5.0-alpha02 (c)
-|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.10 -> 1.8.20 (*)
-|    |    |    +--- androidx.compose.ui:ui:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha02 (c)
-|    |    |    \--- androidx.compose.ui:ui-util:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha02
+|    |    |    +--- androidx.compose.runtime:runtime:1.2.1 -> 1.5.0-alpha03 (*)
+|    |    |    +--- androidx.compose.ui:ui-util:1.5.0-alpha03
+|    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.20 (*)
+|    |    |    |    +--- androidx.compose.ui:ui:1.5.0-alpha03 (c)
+|    |    |    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha03 (c)
+|    |    |    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha03 (c)
+|    |    |    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha03 (c)
+|    |    |    |    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha03 (c)
+|    |    |    |    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha03 (c)
+|    |    |    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha03 (c)
+|    |    |    |    \--- androidx.compose.ui:ui-unit:1.5.0-alpha03 (c)
+|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.20 (*)
+|    |    |    +--- androidx.compose.ui:ui:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha03 (c)
+|    |    |    \--- androidx.compose.ui:ui-util:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha03
 |    |    |    +--- androidx.annotation:annotation:1.2.0 -> 1.6.0 (*)
-|    |    |    +--- androidx.compose.runtime:runtime:1.2.1 -> 1.5.0-alpha02 (*)
-|    |    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha02
+|    |    |    +--- androidx.compose.runtime:runtime:1.2.1 -> 1.5.0-alpha03 (*)
+|    |    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha03
 |    |    |    |    +--- androidx.annotation:annotation:1.1.0 -> 1.6.0 (*)
-|    |    |    |    +--- androidx.compose.runtime:runtime:1.2.1 -> 1.5.0-alpha02 (*)
-|    |    |    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha02 (*)
-|    |    |    |    +--- androidx.compose.ui:ui-util:1.5.0-alpha02 (*)
-|    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.10 -> 1.8.20 (*)
-|    |    |    |    +--- androidx.compose.ui:ui:1.5.0-alpha02 (c)
-|    |    |    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha02 (c)
-|    |    |    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha02 (c)
-|    |    |    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha02 (c)
-|    |    |    |    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha02 (c)
-|    |    |    |    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha02 (c)
-|    |    |    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha02 (c)
-|    |    |    |    \--- androidx.compose.ui:ui-util:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-util:1.5.0-alpha02 (*)
-|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.10 -> 1.8.20
-|    |    |    +--- androidx.compose.ui:ui:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha02 (c)
-|    |    |    \--- androidx.compose.ui:ui-util:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha02
+|    |    |    |    +--- androidx.compose.runtime:runtime:1.2.1 -> 1.5.0-alpha03 (*)
+|    |    |    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha03 (*)
+|    |    |    |    +--- androidx.compose.ui:ui-util:1.5.0-alpha03 (*)
+|    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.20 (*)
+|    |    |    |    +--- androidx.compose.ui:ui:1.5.0-alpha03 (c)
+|    |    |    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha03 (c)
+|    |    |    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha03 (c)
+|    |    |    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha03 (c)
+|    |    |    |    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha03 (c)
+|    |    |    |    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha03 (c)
+|    |    |    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha03 (c)
+|    |    |    |    \--- androidx.compose.ui:ui-util:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-util:1.5.0-alpha03 (*)
+|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.20
+|    |    |    +--- androidx.compose.ui:ui:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha03 (c)
+|    |    |    \--- androidx.compose.ui:ui-util:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha03
 |    |    |    +--- androidx.annotation:annotation:1.1.0 -> 1.6.0 (*)
 |    |    |    +--- androidx.collection:collection:1.0.0 -> 1.2.0 (*)
-|    |    |    +--- androidx.compose.runtime:runtime:1.2.1 -> 1.5.0-alpha02 (*)
-|    |    |    +--- androidx.compose.runtime:runtime-saveable:1.2.1 -> 1.5.0-alpha02 (*)
-|    |    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha02 (*)
-|    |    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha02 (*)
-|    |    |    +--- androidx.compose.ui:ui-util:1.5.0-alpha02 (*)
-|    |    |    +--- androidx.core:core:1.7.0 -> 1.11.0-alpha02 (*)
-|    |    |    +--- androidx.emoji2:emoji2:1.2.0 -> 1.4.0-beta01
+|    |    |    +--- androidx.compose.runtime:runtime:1.2.1 -> 1.5.0-alpha03 (*)
+|    |    |    +--- androidx.compose.runtime:runtime-saveable:1.2.1 -> 1.5.0-alpha03 (*)
+|    |    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha03 (*)
+|    |    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha03 (*)
+|    |    |    +--- androidx.compose.ui:ui-util:1.5.0-alpha03 (*)
+|    |    |    +--- androidx.core:core:1.7.0 -> 1.11.0-alpha03 (*)
+|    |    |    +--- androidx.emoji2:emoji2:1.2.0 -> 1.4.0-beta02
 |    |    |    |    +--- androidx.annotation:annotation:1.2.0 -> 1.6.0 (*)
 |    |    |    |    +--- androidx.collection:collection:1.1.0 -> 1.2.0 (*)
-|    |    |    |    +--- androidx.core:core:1.3.0 -> 1.11.0-alpha02 (*)
+|    |    |    |    +--- androidx.core:core:1.3.0 -> 1.11.0-alpha03 (*)
 |    |    |    |    +--- androidx.lifecycle:lifecycle-process:2.4.1 -> 2.6.1
 |    |    |    |    |    +--- androidx.annotation:annotation:1.2.0 -> 1.6.0 (*)
 |    |    |    |    |    +--- androidx.lifecycle:lifecycle-runtime:2.6.1 (*)
@@ -250,88 +250,89 @@
 |    |    |    |    |    +--- androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1 (c)
 |    |    |    |    |    \--- androidx.lifecycle:lifecycle-viewmodel-savedstate:2.6.1 (c)
 |    |    |    |    \--- androidx.startup:startup-runtime:1.0.0 -> 1.1.1 (*)
-|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.10 -> 1.8.20 (*)
-|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.10 -> 1.8.20
+|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.20 (*)
+|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.20
 |    |    |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 (*)
-|    |    |    +--- androidx.compose.ui:ui:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha02 (c)
-|    |    |    \--- androidx.compose.ui:ui-util:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha02 (*)
-|    |    +--- androidx.compose.ui:ui-util:1.5.0-alpha02 (*)
-|    |    +--- androidx.core:core:1.11.0-alpha02 (*)
+|    |    |    +--- androidx.compose.ui:ui:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha03 (c)
+|    |    |    \--- androidx.compose.ui:ui-util:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha03 (*)
+|    |    +--- androidx.compose.ui:ui-util:1.5.0-alpha03 (*)
+|    |    +--- androidx.core:core:1.11.0-alpha03 (*)
 |    |    +--- androidx.customview:customview-poolingcontainer:1.0.0
-|    |    |    +--- androidx.core:core-ktx:1.5.0 -> 1.11.0-alpha02 (*)
+|    |    |    +--- androidx.core:core-ktx:1.5.0 -> 1.11.0-alpha03 (*)
 |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.21 -> 1.8.20 (*)
-|    |    +--- androidx.emoji2:emoji2:1.2.0 -> 1.4.0-beta01 (*)
+|    |    +--- androidx.emoji2:emoji2:1.2.0 -> 1.4.0-beta02 (*)
 |    |    +--- androidx.lifecycle:lifecycle-runtime:2.6.1 (*)
 |    |    +--- androidx.lifecycle:lifecycle-viewmodel:2.6.1 (*)
 |    |    +--- androidx.profileinstaller:profileinstaller:1.3.0 (*)
 |    |    +--- androidx.savedstate:savedstate-ktx:1.2.1 (*)
-|    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.10 -> 1.8.20 (*)
-|    |    +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.10 -> 1.8.20
+|    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.20 (*)
+|    |    +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.20
 |    |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 (*)
 |    |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 (*)
-|    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha02 (c)
-|    |    \--- androidx.compose.ui:ui-util:1.5.0-alpha02 (c)
-|    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha02
+|    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha03 (c)
+|    |    \--- androidx.compose.ui:ui-util:1.5.0-alpha03 (c)
+|    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha03
 |    |    +--- androidx.activity:activity:1.2.1 -> 1.7.1 (*)
 |    |    +--- androidx.activity:activity-compose:1.3.0 -> 1.7.1
 |    |    |    +--- androidx.activity:activity-ktx:1.7.1 (*)
-|    |    |    +--- androidx.compose.runtime:runtime:1.0.1 -> 1.5.0-alpha02 (*)
-|    |    |    +--- androidx.compose.runtime:runtime-saveable:1.0.1 -> 1.5.0-alpha02 (*)
-|    |    |    +--- androidx.compose.ui:ui:1.0.1 -> 1.5.0-alpha02 (*)
+|    |    |    +--- androidx.compose.runtime:runtime:1.0.1 -> 1.5.0-alpha03 (*)
+|    |    |    +--- androidx.compose.runtime:runtime-saveable:1.0.1 -> 1.5.0-alpha03 (*)
+|    |    |    +--- androidx.compose.ui:ui:1.0.1 -> 1.5.0-alpha03 (*)
 |    |    |    +--- androidx.lifecycle:lifecycle-viewmodel:2.6.1 (*)
 |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.10 -> 1.8.20 (*)
 |    |    |    +--- androidx.activity:activity:1.7.1 (c)
 |    |    |    \--- androidx.activity:activity-ktx:1.7.1 (c)
 |    |    +--- androidx.annotation:annotation:1.1.0 -> 1.6.0 (*)
-|    |    +--- androidx.compose.runtime:runtime-saveable:1.2.1 -> 1.5.0-alpha02 (*)
-|    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha02
+|    |    +--- androidx.compose.runtime:runtime-saveable:1.2.1 -> 1.5.0-alpha03 (*)
+|    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha03
 |    |    |    +--- androidx.annotation:annotation:1.1.0 -> 1.6.0 (*)
-|    |    |    +--- androidx.compose.runtime:runtime:1.2.1 -> 1.5.0-alpha02 (*)
-|    |    |    +--- androidx.compose.ui:ui:1.5.0-alpha02 (*)
-|    |    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha02 (*)
-|    |    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha02 (*)
-|    |    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha02 (*)
-|    |    |    +--- androidx.compose.ui:ui-util:1.5.0-alpha02 (*)
-|    |    |    +--- androidx.core:core-ktx:1.1.0 -> 1.11.0-alpha02 (*)
-|    |    |    +--- androidx.test:monitor:1.6.0 -> 1.6.1
+|    |    |    +--- androidx.compose.runtime:runtime:1.2.1 -> 1.5.0-alpha03 (*)
+|    |    |    +--- androidx.compose.ui:ui:1.5.0-alpha03 (*)
+|    |    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha03 (*)
+|    |    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha03 (*)
+|    |    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha03 (*)
+|    |    |    +--- androidx.compose.ui:ui-util:1.5.0-alpha03 (*)
+|    |    |    +--- androidx.core:core-ktx:1.1.0 -> 1.11.0-alpha03 (*)
+|    |    |    +--- androidx.test:monitor:1.6.0 -> 1.7.0-alpha01
 |    |    |    |    +--- androidx.annotation:annotation:1.2.0 -> 1.6.0 (*)
-|    |    |    |    +--- androidx.test:annotation:1.0.1
-|    |    |    |    |    +--- androidx.annotation:annotation:1.2.0 -> 1.6.0 (*)
-|    |    |    |    |    \--- androidx.annotation:annotation-experimental:1.1.0 -> 1.3.0 (*)
-|    |    |    |    \--- androidx.tracing:tracing:1.0.0 (*)
+|    |    |    |    +--- androidx.test:annotation:1.1.0-alpha01
+|    |    |    |    |    +--- androidx.annotation:annotation-experimental:1.1.0 -> 1.3.0 (*)
+|    |    |    |    |    \--- androidx.annotation:annotation:1.2.0 -> 1.6.0 (*)
+|    |    |    |    +--- androidx.tracing:tracing:1.1.0 -> 1.0.0 (*)
+|    |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.7.22 -> 1.8.20 (*)
 |    |    |    +--- androidx.test.espresso:espresso-core:3.5.0 -> 3.5.1
 |    |    |    |    +--- androidx.annotation:annotation:1.2.0 -> 1.6.0 (*)
-|    |    |    |    +--- androidx.test:core:1.5.0
+|    |    |    |    +--- androidx.test:core:1.5.0 -> 1.6.0-alpha01
 |    |    |    |    |    +--- androidx.annotation:annotation:1.2.0 -> 1.6.0 (*)
-|    |    |    |    |    +--- androidx.test:monitor:1.6.0 -> 1.6.1 (*)
-|    |    |    |    |    +--- androidx.test.services:storage:1.4.2
-|    |    |    |    |    |    +--- androidx.annotation:annotation:1.2.0 -> 1.6.0 (*)
-|    |    |    |    |    |    +--- androidx.test:monitor:1.6.0 -> 1.6.1 (*)
-|    |    |    |    |    |    +--- com.google.code.findbugs:jsr305:2.0.2 -> 3.0.2
-|    |    |    |    |    |    \--- androidx.test:annotation:1.0.1 (*)
+|    |    |    |    |    +--- androidx.concurrent:concurrent-futures:1.1.0 (*)
 |    |    |    |    |    +--- androidx.lifecycle:lifecycle-common:2.3.1 -> 2.6.1 (*)
-|    |    |    |    |    +--- androidx.tracing:tracing:1.0.0 (*)
+|    |    |    |    |    +--- androidx.test.services:storage:1.5.0-alpha01
+|    |    |    |    |    |    +--- androidx.annotation:annotation:1.2.0 -> 1.6.0 (*)
+|    |    |    |    |    |    +--- androidx.test:annotation:1.1.0-alpha01 (*)
+|    |    |    |    |    |    \--- androidx.test:monitor:1.7.0-alpha01 (*)
+|    |    |    |    |    +--- androidx.test:annotation:1.1.0-alpha01 (*)
+|    |    |    |    |    +--- androidx.test:monitor:1.7.0-alpha01 (*)
+|    |    |    |    |    +--- androidx.tracing:tracing:1.1.0 -> 1.0.0 (*)
 |    |    |    |    |    +--- com.google.guava:listenablefuture:1.0
-|    |    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.7.10 -> 1.8.20 (*)
-|    |    |    |    |    \--- androidx.concurrent:concurrent-futures:1.1.0 (*)
+|    |    |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.7.22 -> 1.8.20 (*)
 |    |    |    |    +--- androidx.test:runner:1.5.2
 |    |    |    |    |    +--- androidx.annotation:annotation:1.2.0 -> 1.6.0 (*)
-|    |    |    |    |    +--- androidx.test:annotation:1.0.1 (*)
-|    |    |    |    |    +--- androidx.test:monitor:1.6.1 (*)
-|    |    |    |    |    +--- androidx.test.services:storage:1.4.2 (*)
+|    |    |    |    |    +--- androidx.test:annotation:1.0.1 -> 1.1.0-alpha01 (*)
+|    |    |    |    |    +--- androidx.test:monitor:1.6.1 -> 1.7.0-alpha01 (*)
+|    |    |    |    |    +--- androidx.test.services:storage:1.4.2 -> 1.5.0-alpha01 (*)
 |    |    |    |    |    +--- androidx.tracing:tracing:1.0.0 (*)
 |    |    |    |    |    \--- junit:junit:4.13.2
 |    |    |    |    |         \--- org.hamcrest:hamcrest-core:1.3
@@ -344,9 +345,9 @@
 |    |    |    |    |    \--- org.hamcrest:hamcrest-library:1.3 (*)
 |    |    |    |    +--- com.google.code.findbugs:jsr305:2.0.2 -> 3.0.2
 |    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.7.10 -> 1.8.20 (*)
-|    |    |    |    \--- androidx.test:annotation:1.0.1 (*)
-|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.10 -> 1.8.20 (*)
-|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.10 -> 1.8.20
+|    |    |    |    \--- androidx.test:annotation:1.0.1 -> 1.1.0-alpha01 (*)
+|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.20 (*)
+|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.20
 |    |    |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 (*)
 |    |    |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.4
 |    |    |    |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-test-jvm:1.6.4
@@ -354,50 +355,51 @@
 |    |    |    |         +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.21 -> 1.8.20 (*)
 |    |    |    |         +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 (*)
 |    |    |    |         \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.21 -> 1.8.20
-|    |    |    +--- androidx.compose.ui:ui:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha02 (c)
-|    |    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha02 (c)
-|    |    |    \--- androidx.compose.ui:ui-util:1.5.0-alpha02 (c)
+|    |    |    +--- androidx.compose.ui:ui:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha03 (c)
+|    |    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha03 (c)
+|    |    |    \--- androidx.compose.ui:ui-util:1.5.0-alpha03 (c)
 |    |    +--- androidx.lifecycle:lifecycle-common:2.5.1 -> 2.6.1 (*)
 |    |    +--- androidx.lifecycle:lifecycle-runtime:2.5.1 -> 2.6.1 (*)
-|    |    +--- androidx.test:core:1.5.0 (*)
-|    |    +--- androidx.test:monitor:1.6.0 -> 1.6.1 (*)
+|    |    +--- androidx.test:core:1.5.0 -> 1.6.0-alpha01 (*)
+|    |    +--- androidx.test:monitor:1.6.0 -> 1.7.0-alpha01 (*)
 |    |    +--- androidx.test.espresso:espresso-core:3.5.0 -> 3.5.1 (*)
 |    |    +--- androidx.test.espresso:espresso-idling-resource:3.5.0 -> 3.5.1
-|    |    +--- androidx.test.ext:junit:1.1.5
-|    |    |    +--- junit:junit:4.13.2 (*)
-|    |    |    +--- androidx.test:core:1.5.0 (*)
-|    |    |    +--- androidx.test:monitor:1.6.1 (*)
-|    |    |    \--- androidx.annotation:annotation:1.2.0 -> 1.6.0 (*)
+|    |    +--- androidx.test.ext:junit:1.2.0-alpha01
+|    |    |    +--- androidx.annotation:annotation:1.2.0 -> 1.6.0 (*)
+|    |    |    +--- androidx.test.services:storage:1.5.0-alpha01 (*)
+|    |    |    +--- androidx.test:core:1.6.0-alpha01 (*)
+|    |    |    +--- androidx.test:monitor:1.7.0-alpha01 (*)
+|    |    |    \--- junit:junit:4.13.2 (*)
 |    |    +--- junit:junit:4.13.2 (*)
-|    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.10 -> 1.8.20 (*)
-|    |    +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.10 -> 1.8.20
+|    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.20 (*)
+|    |    +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.20
 |    |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 (*)
 |    |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.4 (*)
-|    |    +--- androidx.compose.ui:ui:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha02 (c)
-|    |    \--- androidx.compose.ui:ui-util:1.5.0-alpha02 (c)
-|    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha02
+|    |    +--- androidx.compose.ui:ui:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha03 (c)
+|    |    \--- androidx.compose.ui:ui-util:1.5.0-alpha03 (c)
+|    +--- androidx.compose.ui:ui-test-manifest:1.5.0-alpha03
 |    |    +--- androidx.activity:activity:1.2.1 -> 1.7.1 (*)
-|    |    +--- androidx.compose.ui:ui:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha02 (c)
-|    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha02 (c)
-|    |    \--- androidx.compose.ui:ui-util:1.5.0-alpha02 (c)
+|    |    +--- androidx.compose.ui:ui:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-test:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-test-junit4:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-geometry:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-graphics:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-text:1.5.0-alpha03 (c)
+|    |    +--- androidx.compose.ui:ui-unit:1.5.0-alpha03 (c)
+|    |    \--- androidx.compose.ui:ui-util:1.5.0-alpha03 (c)
 |    +--- androidx.test:core-ktx:1.5.0
-|    |    +--- androidx.test:core:1.5.0 (*)
+|    |    +--- androidx.test:core:1.5.0 -> 1.6.0-alpha01 (*)
 |    |    +--- androidx.lifecycle:lifecycle-common:2.3.1 -> 2.6.1 (*)
 |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.7.10 -> 1.8.20 (*)
 |    +--- androidx.test.espresso:espresso-core:3.5.1 (*)
@@ -430,14 +432,14 @@
 |    \--- org.jetbrains.kotlin:kotlin-android-extensions-runtime:1.8.20
 |         \--- org.jetbrains.kotlin:kotlin-stdlib:1.8.20 (*)
 +--- org.jetbrains.kotlin:kotlin-parcelize-runtime:{strictly 1.8.20} -> 1.8.20 (c)
-+--- androidx.compose.ui:ui:{strictly 1.5.0-alpha02} -> 1.5.0-alpha02 (c)
++--- androidx.compose.ui:ui:{strictly 1.5.0-alpha03} -> 1.5.0-alpha03 (c)
 +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:{strictly 1.8.20} -> 1.8.20 (c)
 +--- org.jetbrains.kotlin:kotlin-stdlib:{strictly 1.8.20} -> 1.8.20 (c)
 +--- org.jetbrains.kotlin:kotlin-android-extensions-runtime:{strictly 1.8.20} -> 1.8.20 (c)
 +--- androidx.activity:activity:{strictly 1.7.1} -> 1.7.1 (c)
 +--- androidx.activity:activity-compose:{strictly 1.7.1} -> 1.7.1 (c)
 +--- androidx.annotation:annotation:{strictly 1.6.0} -> 1.6.0 (c)
-+--- androidx.compose.runtime:runtime-saveable:{strictly 1.5.0-alpha02} -> 1.5.0-alpha02 (c)
++--- androidx.compose.runtime:runtime-saveable:{strictly 1.5.0-alpha03} -> 1.5.0-alpha03 (c)
 +--- androidx.lifecycle:lifecycle-common:{strictly 2.6.1} -> 2.6.1 (c)
 +--- androidx.lifecycle:lifecycle-runtime:{strictly 2.6.1} -> 2.6.1 (c)
 +--- org.jetbrains.kotlin:kotlin-stdlib-common:{strictly 1.8.20} -> 1.8.20 (c)
@@ -449,23 +451,22 @@
 +--- androidx.activity:activity-ktx:{strictly 1.7.1} -> 1.7.1 (c)
 +--- androidx.autofill:autofill:{strictly 1.0.0} -> 1.0.0 (c)
 +--- androidx.collection:collection:{strictly 1.2.0} -> 1.2.0 (c)
-+--- androidx.compose.runtime:runtime:{strictly 1.5.0-alpha02} -> 1.5.0-alpha02 (c)
-+--- androidx.compose.ui:ui-geometry:{strictly 1.5.0-alpha02} -> 1.5.0-alpha02 (c)
-+--- androidx.compose.ui:ui-graphics:{strictly 1.5.0-alpha02} -> 1.5.0-alpha02 (c)
-+--- androidx.compose.ui:ui-text:{strictly 1.5.0-alpha02} -> 1.5.0-alpha02 (c)
-+--- androidx.compose.ui:ui-unit:{strictly 1.5.0-alpha02} -> 1.5.0-alpha02 (c)
-+--- androidx.compose.ui:ui-util:{strictly 1.5.0-alpha02} -> 1.5.0-alpha02 (c)
-+--- androidx.core:core:{strictly 1.11.0-alpha02} -> 1.11.0-alpha02 (c)
++--- androidx.compose.runtime:runtime:{strictly 1.5.0-alpha03} -> 1.5.0-alpha03 (c)
++--- androidx.compose.ui:ui-geometry:{strictly 1.5.0-alpha03} -> 1.5.0-alpha03 (c)
++--- androidx.compose.ui:ui-graphics:{strictly 1.5.0-alpha03} -> 1.5.0-alpha03 (c)
++--- androidx.compose.ui:ui-text:{strictly 1.5.0-alpha03} -> 1.5.0-alpha03 (c)
++--- androidx.compose.ui:ui-unit:{strictly 1.5.0-alpha03} -> 1.5.0-alpha03 (c)
++--- androidx.compose.ui:ui-util:{strictly 1.5.0-alpha03} -> 1.5.0-alpha03 (c)
++--- androidx.core:core:{strictly 1.11.0-alpha03} -> 1.11.0-alpha03 (c)
 +--- androidx.customview:customview-poolingcontainer:{strictly 1.0.0} -> 1.0.0 (c)
-+--- androidx.emoji2:emoji2:{strictly 1.4.0-beta01} -> 1.4.0-beta01 (c)
++--- androidx.emoji2:emoji2:{strictly 1.4.0-beta02} -> 1.4.0-beta02 (c)
 +--- androidx.lifecycle:lifecycle-viewmodel:{strictly 2.6.1} -> 2.6.1 (c)
 +--- androidx.profileinstaller:profileinstaller:{strictly 1.3.0} -> 1.3.0 (c)
 +--- androidx.savedstate:savedstate-ktx:{strictly 1.2.1} -> 1.2.1 (c)
 +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:{strictly 1.6.4} -> 1.6.4 (c)
 +--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:{strictly 1.8.20} -> 1.8.20 (c)
 +--- org.jetbrains:annotations:{strictly 23.0.0} -> 23.0.0 (c)
-+--- androidx.core:core-ktx:{strictly 1.11.0-alpha02} -> 1.11.0-alpha02 (c)
-+--- androidx.concurrent:concurrent-futures:{strictly 1.1.0} -> 1.1.0 (c)
++--- androidx.core:core-ktx:{strictly 1.11.0-alpha03} -> 1.11.0-alpha03 (c)
 +--- androidx.lifecycle:lifecycle-viewmodel-savedstate:{strictly 2.6.1} -> 2.6.1 (c)
 +--- androidx.savedstate:savedstate:{strictly 1.2.1} -> 1.2.1 (c)
 +--- androidx.annotation:annotation-jvm:{strictly 1.6.0} -> 1.6.0 (c)
@@ -476,6 +477,7 @@
 +--- com.squareup.okio:okio:{strictly 3.3.0} -> 3.3.0 (c)
 +--- androidx.lifecycle:lifecycle-runtime-ktx:{strictly 2.6.1} -> 2.6.1 (c)
 +--- androidx.lifecycle:lifecycle-viewmodel-ktx:{strictly 2.6.1} -> 2.6.1 (c)
++--- androidx.concurrent:concurrent-futures:{strictly 1.1.0} -> 1.1.0 (c)
 +--- androidx.interpolator:interpolator:{strictly 1.0.0} -> 1.0.0 (c)
 +--- androidx.versionedparcelable:versionedparcelable:{strictly 1.1.1} -> 1.1.1 (c)
 +--- androidx.lifecycle:lifecycle-process:{strictly 2.6.1} -> 2.6.1 (c)

@brettchabot
Copy link
Collaborator

Can you provide the output of 'gradle dependencies' for the implementation classpath

@leinardi
Copy link

Do you mean the compile classpath? Can't fine any implementation classpath.

This is the full log: dep.txt

@brettchabot
Copy link
Collaborator

sorry I'm not super familiar with gradle. I suspect you want to look at debugRuntimeClasspath. It doesn't look to me like 'implementation androidx.tracing:tracing:1.1.0.' is being explicitly specified.

@leinardi
Copy link

Is it something that it's needed at runtime? I added it to the test implementation because I assumed it's required only for espresso tests.

@leinardi
Copy link

Confirmed that using debugImplementation("androidx.tracing:tracing:1.1.0") fixes it.

Should I open a ticket to the compose issue tracker to request them to add this new version as dependency?

@brettchabot
Copy link
Collaborator

You need specifically 'implementation androidx.tracing:tracing:1.1.0'. See https://github.com/android/testing-samples/blob/a76330ba879cd671bf31012c79a9321e87097e64/ui/espresso/ScreenshotSample/app/build.gradle#L60

@brettchabot
Copy link
Collaborator

sorry our messages got crossed. Asking compose to upgrade to androidx.tracing:tracing:1.1.0 doesn't seem totally unreasonable to me, but note its just a workaround. The root cause is AGP silently downgrading to older versions in test scope.

@leinardi
Copy link

I see, is this already known to the AGP developers or should be reported to some tracker? I just would like to have a fix upstream so that I don't have to manually drag this dependency.

@brettchabot
Copy link
Collaborator

Yes there is a bug in google's internal tracker.

@leinardi
Copy link

OK, so I avoid reporting anything. Thank you for the help and clarification.

fornewid added a commit to fornewid/material-motion-compose that referenced this issue May 15, 2023
fornewid added a commit to fornewid/material-motion-compose that referenced this issue May 15, 2023
* Updates to Compose 1.5.0-alpha04

* Fix androidTest errors

android/android-test#1755 (comment)
@saket
Copy link

saket commented Jun 3, 2023

@brettchabot can google make that bug report public so that we can follow its progress?

@TheLastProject
Copy link

I see this issue is closed yet I'm still running into this issue myself and bumping the androidx.tracing:tracing as an androidTestImplementation itself doesn't seem to work, it must really be part of implementation.

However, doesn't putting it in implementation mean it'll get shipped with the actual production builds of the app? It doesn't seem good practice to put a test-only workaround under regular implementation, but that currently seems to be the only option?

I understand this is a bug and the workaround is just to work around a bug, but is there any place to properly track this issue given this GitHub issue is closed so I can make sure to be notified when it is fixed and remove the workaround as soon as it is no longer needed?

@brettchabot
Copy link
Collaborator

Philosophically I agree that putting test specific workarounds in production code is not ideal, but I'm struggling to see a large negative impact of putting this workaround in place. All this workaround is doing is making sure your project is using a newer version of androidx.tracing. Am I missing something?

I've asked if the AGP bug can be made public. Alternatively feel free to file a new one https://issuetracker.google.com/issues/new?component=192708&template=840533

@mgroth0
Copy link

mgroth0 commented Jun 24, 2024

I'm not sure whats going on here but I am suddenly getting the error:

No static method forceEnableAppTracing()V in class Landroidx/tracing/Trace

When I try to upgrade tracing to 1.1.0 gradle does not let me. I get an error saying one of my dependencies has a dependency on androidx.tracing:tracing:{strictly 1.0.0}. Though I cannot figure out yet which one of my dependencies is doing that or why.

@brettchabot
Copy link
Collaborator

Is the output of './gradlew dependencies' helpful to track that down?

@TWiStErRob
Copy link
Contributor

An alternative diagnostic tool worth looking at is

gradlew :app:dependencyInsight --configuration=debugAndroidTestRuntimeClasspath --dependency=androidx.tracing

@mgroth0
Copy link

mgroth0 commented Jun 25, 2024

Thank you both for the suggestions. I eventually figured out that I just needed do what TheLastProject did above, adding androidx.tracing:tracing:1.1.0 as a dependency to androidMainImplementation (in a kotlin multiplatform module, so the configuration name is different).

Unfortunately I then ran in to a similar issue with a different class. But this might be a different issue, and I am just beginning to investigate it.

java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/test/internal/platform/app/ActivityInvoker$-CC;
	at androidx.test.core.app.InstrumentationActivityInvoker.getIntentForActivity(Unknown Source:0)

@brettchabot
Copy link
Collaborator

That last issue looks like #413 which should have been fixed long ago.

If you're seeing that using new androidx.test versions please file a new issue

ribbons added a commit to ribbons/TaskerRsync that referenced this issue Jun 25, 2024
AGP has a bug which mistakenly downgrades this to an old version in test
scope which then causes the tests to fail due to a missing method.  As
mentioned in android/android-test#1755, this can be worked around by
explicitly specifying it as an implementation dependency.
ribbons added a commit to ribbons/TaskerRsync that referenced this issue Jun 25, 2024
AGP has a bug which mistakenly downgrades this to an old version in test
scope which then causes the tests to fail due to a missing method.  As
mentioned in android/android-test#1755, this can be worked around by
explicitly specifying it as an implementation dependency.
@mgroth0
Copy link

mgroth0 commented Jun 25, 2024

Finally I think I have discovered the real issue I was having: I was adding both org.jetbrains.compose.ui:ui-test and de.mannodermaus.junit5:android-test-compose. I think I only need de.mannodermaus.junit5:android-test-compose, because at least for some of my tests simply removing the org.jetbrains.compose.ui:ui-test dependency fixed this (didn't even need to add the tracing dependency).

wmathurin added a commit to wmathurin/SalesforceMobileSDK-Android that referenced this issue Jun 26, 2024
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue Jul 1, 2024
jamienicol pushed a commit to jamienicol/gecko that referenced this issue Jul 2, 2024
i3roly pushed a commit to i3roly/firefox-dynasty that referenced this issue Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants