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

React Native Android. #957

Closed
BabarLW opened this issue Jun 12, 2024 · 1 comment
Closed

React Native Android. #957

BabarLW opened this issue Jun 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@BabarLW
Copy link

BabarLW commented Jun 12, 2024

Getting this error any one knows how to resolve this issue.

Versions:
"react-native": "0.72.1",
"@segment/analytics-react-native": "^2.15.0",
"@segment/analytics-react-native-plugin-firebase": "^0.4.1",
"@segment/sovran-react-native": "^1.0.4"

error Failed to install the app. Command failed with exit code 1: ./gradlew app:installStagingDebug -PreactNativeDevServerPort=8081
ERROR:D8: com.android.tools.r8.kotlin.H FAILURE: Build failed with an exception. * What went wrong:
Execution failed for task ':app:mergeExtDexStagingDebug'.

Could not resolve all files for configuration ':app:stagingDebugRuntimeClasspath'. > Failed to transform play-services-measurement-api-22.0.1.aar (com.google.android.gms:play-services-measurement-api:22.0.1) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}. > Execution failed for DexingWithClasspathTransform: /Users/daniyal/.gradle/caches/transforms-3/fce79546c9af2d256829ae51e049b9cf/transformed/jetified-play-services-measurement-api-22.0.1-runtime.jar. > Error while dexing. > Failed to transform play-services-measurement-api-22.0.1.aar (com.google.android.gms:play-services-measurement-api:22.0.1) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.status=release, org.gradle.usage=java-runtime}. > Execution failed for DexingWithClasspathTransform: /Users/daniyal/.gradle/caches/transforms-3/fce79546c9af2d256829ae51e049b9cf/transformed/jetified-play-services-measurement-api-22.0.1-runtime.jar. > Error while dexing. * Try:
Run with --stacktrace option to get the stack trace.

@BabarLW BabarLW added the bug Something isn't working label Jun 12, 2024
@hvardhan-unth
Copy link
Contributor

Hey @BabarLW
This issue is not reproducible at my end. Issue is not with the analytics-react-native library.
If you are not satisfied with this and wants further investigation then you can reach out to our support team at (mailto:[email protected]).
If needed you can reopen the issue.

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

2 participants