Skip to content

Commit 37f0bc0

Browse files
committed
Fix 'No static method forceEnableAppTracing' error
1 parent ab821d6 commit 37f0bc0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

AdvancedStateAndSideEffectsCodelab/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ dependencies {
105105

106106
implementation "androidx.activity:activity-compose:1.9.0"
107107
implementation "androidx.appcompat:appcompat:1.7.0"
108+
implementation "androidx.tracing:tracing:1.2.0"
108109

109110
def composeBom = platform('androidx.compose:compose-bom:2024.06.00')
110111
implementation(composeBom)

MigrationCodelab/app/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ dependencies {
7777
implementation "androidx.recyclerview:recyclerview:1.3.2"
7878
implementation "androidx.room:room-runtime:2.6.1"
7979
implementation "androidx.room:room-ktx:2.6.1"
80+
implementation "androidx.tracing:tracing:1.2.0"
8081
implementation "androidx.viewpager2:viewpager2:1.1.0"
8182
implementation "androidx.work:work-runtime-ktx:2.9.0"
8283
implementation "com.github.bumptech.glide:glide:4.16.0"
@@ -107,4 +108,4 @@ dependencies {
107108
androidTestImplementation "com.google.truth:truth:1.4.2"
108109
androidTestImplementation "androidx.compose.ui:ui-test-junit4"
109110
testImplementation "junit:junit:4.13.2"
110-
}
111+
}

0 commit comments

Comments
 (0)