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

Android Build Error #760

Open
miridih-chyoon opened this issue Dec 23, 2024 · 2 comments
Open

Android Build Error #760

miridih-chyoon opened this issue Dec 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@miridih-chyoon
Copy link

miridih-chyoon commented Dec 23, 2024

Describe the bug

> Task :datadog_mobile-react-native-session-replay:compileReleaseKotlin FAILED
e: file://.../node_modules/@datadog/mobile-react-native-session-replay/android/src/rn76/kotlin/com/datadog/reactnative/sessionreplay/utils/ReactViewBackgroundDrawableUtils.kt:9:57 Unresolved reference: convertToDensityNormalized
e: file://.../node_modules/@datadog/mobile-react-native-session-replay/android/src/rn76/kotlin/com/datadog/reactnative/sessionreplay/utils/ReactViewBackgroundDrawableUtils.kt:89:57 Unresolved reference: convertToDensityNormalized

Reproduction steps

./gradlew assembleRelease

SDK logs

No response

Expected behavior

No response

Affected SDK versions

2.5.0-alpha.0

Latest working SDK version

2.4.2

Did you confirm if the latest SDK version fixes the bug?

No

Integration Methods

NPM

React Native Version

0.76.1

Package.json Contents

"@datadog/mobile-react-native": "^2.5.0",
"@datadog/mobile-react-native-code-push": "^2.5.0",
"@datadog/mobile-react-native-session-replay": "^2.5.0-alpha.0",
"@datadog/mobile-react-native-webview": "^2.5.0",
"@datadog/mobile-react-navigation": "^2.5.0",
"react": "^18.3.1",
"react-native": "0.76.1",

iOS Setup

No response

Android Setup

  ext {
        buildToolsVersion = "35.0.0"
        minSdkVersion = 30
        compileSdkVersion = 35
        targetSdkVersion = 34
        ndkVersion = "26.1.10909125"
        kotlinVersion = "1.9.24"
        googlePlayServicesAuthVersion = "20.7.0"
        useExoplayerIMA = true
        useExoplayerRtsp = true
        useExoplayerSmoothStreaming = true
        useExoplayerDash = true
        useExoplayerHls = true
    }

Device Information

No response

Other relevant information

No response

@ChanghyeonYoon
Copy link

ChanghyeonYoon commented Dec 23, 2024

This issue was submit by my company github account.
I was upload PR by my personal github account.
PR #761

@jonathanmos
Copy link
Member

Hi @ChanghyeonYoon, thank you for submitting a fix for this issue! We will review it and include it in the next version that we plan to release at the beginning of January.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants