You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validate android.enableR8.fullMode is not set nor overwritten at gradle.properties (run with defaults)
Build project with android gradle plugin "8.7.1" (probably reproducible with any AGP 8.x didn't check)
Observe R8 warnings (errors)
Logcat logs
Build output
AGPBI: {"kind":"warning","text":"The class androidx.navigation.NavType is present but not the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String) which suggests some unsupported set-up where androidx is pre-shrunk without keeping the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String).","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"warning","text":"The class androidx.navigation.NavType is present but not the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String) which suggests some unsupported set-up where androidx is pre-shrunk without keeping the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String).","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"warning","text":"The class androidx.navigation.NavType is present but not the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String) which suggests some unsupported set-up where androidx is pre-shrunk without keeping the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String).","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"warning","text":"The class androidx.navigation.NavType is present but not the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String) which suggests some unsupported set-up where androidx is pre-shrunk without keeping the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String).","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"warning","text":"The class androidx.navigation.NavType is present but not the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String) which suggests some unsupported set-up where androidx is pre-shrunk without keeping the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String).","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"warning","text":"The class androidx.navigation.NavType is present but not the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String) which suggests some unsupported set-up where androidx is pre-shrunk without keeping the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String).","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"warning","text":"The class androidx.navigation.NavType is present but not the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String) which suggests some unsupported set-up where androidx is pre-shrunk without keeping the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String).","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"warning","text":"The class androidx.navigation.NavType is present but not the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String) which suggests some unsupported set-up where androidx is pre-shrunk without keeping the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String).","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"warning","text":"The class androidx.navigation.NavType is present but not the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String) which suggests some unsupported set-up where androidx is pre-shrunk without keeping the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String).","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"warning","text":"The class androidx.navigation.NavType is present but not the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String) which suggests some unsupported set-up where androidx is pre-shrunk without keeping the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String).","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"warning","text":"The class androidx.navigation.NavType is present but not the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String) which suggests some unsupported set-up where androidx is pre-shrunk without keeping the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String).","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"warning","text":"The class androidx.navigation.NavType is present but not the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String) which suggests some unsupported set-up where androidx is pre-shrunk without keeping the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String).","sources":[{}],"tool":"D8"}
The class androidx.navigation.NavType is present but not the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String) which suggests some unsupported set-up where androidx is pre-shrunk without keeping the method androidx.navigation.NavType androidx.navigation.NavType$Companion.fromArgType(java.lang.String, java.lang.String).
Expected behavior
No build warnings / no runtime issues with minimized/obfuscated builds.
Affected SDK versions
2.14
Latest working SDK version
didn't check, we just integrated datadog month ago
Did you confirm if the latest SDK version fixes the bug?
Yes
Kotlin / Java version
No response
Gradle / AGP version
No response
Other dependencies versions
No response
Device Information
No response
Other relevant information
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Datadog brings very old
androidx.navigation
incompatible withR8.fullMode
which is default since AGP 8.0.Please update the dependency to include the fix https://issuetracker.google.com/issues/191654433 .
dd-sdk-android/gradle/libs.versions.toml
Line 16 in b83e7b6
Reproduction steps
android.enableR8.fullMode
is not set nor overwritten atgradle.properties
(run with defaults)Logcat logs
Build output
Expected behavior
No build warnings / no runtime issues with minimized/obfuscated builds.
Affected SDK versions
2.14
Latest working SDK version
didn't check, we just integrated datadog month ago
Did you confirm if the latest SDK version fixes the bug?
Yes
Kotlin / Java version
No response
Gradle / AGP version
No response
Other dependencies versions
No response
Device Information
No response
Other relevant information
No response
The text was updated successfully, but these errors were encountered: