DataDog / expo-datadog

Datadog SDK for Expo
Apache License 2.0
9 stars 5 forks source link

[Expo SDK 50] Android development builds fail with "Execution failed for task ':datadog_mobile-react-native:compileDebugKotlin'." #23

Closed avrabel-work closed 10 months ago

avrabel-work commented 10 months ago

Thanks for taking the time for reporting an issue!

If you are having trouble sending data from the SDK but don't see any error, please reach out first through our support team.

Describe what happened Datadog was working and building fine for us in Expo SDK 49. We are in the process of upgrading our app to Expo SDK 50. The upgrade went well and our production builds are working fine, however we are not seeing any data being uploaded into Datadog. To debug the issue, we tried creating development builds using EAS. The IOS dev build built fine, but the Android build is failing with:

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':datadog_mobile-react-native:compileDebugKotlin'.

> 'compileDebugJavaWithJavac' task (current target is 17) and 'compileDebugKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version.

  Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain

* Try:

> Run with --stacktrace option to get the stack trace.

> Run with --info or --debug option to get more log output.

> Run with --scan to get full insights.

> Get more help at https://help.gradle.org.

BUILD FAILED in 3m 22s

Steps to reproduce the issue: Creating an Android dev build on EAS with the latest expo-datadog packages.

Describe what you expected: Android dev build created successfully.

Additional context

app.config.js

import { version } from './package.json'

const makeAndroidVersionCode = (version) => {
  let major = version.split('.')[0].padEnd(3, '0')
  let minor = version.split('.')[2].padStart(3, '0')

  return parseInt(major+major+minor)
}

const androidVersionCode = makeAndroidVersionCode(version)

module.exports = {
  "name": "xxx",
  "slug": "xxx",
  "description": "xxx",
  "version": version,
  "sdkVersion": "50.0.0",
  "owner": "xxx",
  "privacy": "hidden",
  "orientation": "portrait",
  "icon": "./assets/variables/icon.png",
  "splash": {
    "image": "./assets/variables/launcher.png",
    "resizeMode": "cover"
  },
  "userInterfaceStyle": "light",
  "android": {
    "blockedPermissions": [
      "com.google.android.gms.permission.AD_ID"
    ],
    "googleServicesFile": process.env.GOOGLE_SERVICES_JSON || "./google-services.json",
    "package": "xxx",
    "versionCode": androidVersionCode,
    "config": {
      "googleMaps": {
        "apiKey": process.env.GOOGLE_MAPS_KEY || ""
      }
    }
  },
  "ios": {
    "googleServicesFile": process.env.GOOGLE_SERVICES_PLIST || "./GoogleService-Info.plist",
    "supportsTablet": true,
    "bundleIdentifier": "xxx",
    "buildNumber": version,
    "infoPlist": {
      "NSCameraUsageDescription": "You can choose take a photo to upload for your user profile avatar and/or activity feed posts. Your photos will never leave your device unless you explicitly choose to upload them.",
      "NSPhotoLibraryUsageDescription": "You can choose take a photo to upload for your user profile avatar and/or activity feed posts. Your photos will never leave your device unless you explicitly choose to upload them.",
      "NSPhotoLibraryAddUsageDescription": "You can choose take a photo to upload for your user profile avatar and/or activity feed posts. Your photos will never leave your device unless you explicitly choose to upload them.",
      "NSLocationWhenInUseUsageDescription": "You can choose to allow location to see where you are on the event map while the app is in use. Your location will never be shared.",
      "NSUserNotificationAlertStyle": "banner",
      "ITSAppUsesNonExemptEncryption": "NO",
      "UIBackgroundModes": [
        "remote-notification"
      ],
      "LSApplicationQueriesSchemes": [
        "mailto"
      ]
    },
    "config": {
      "googleMapsApiKey": process.env.GOOGLE_MAPS_KEY || ""
    }
  },
  "plugins": [
    [
      "expo-build-properties",
      {
        "android": {
          "enableProguardInReleaseBuilds": true,
          "extraProguardRules": "-keep public class com.horcrux.svg.** {*;}",
          "allowBackup": false
        },
        "ios": {
          "useFrameworks": "static"
        }
      }
    ],
    "expo-datadog",
    "expo-font",
    "expo-image-picker",
    "expo-secure-store"
  ],
  "extra": {
    "eas": {
      "projectId": "xxx"
    }
  },
  "platforms": [
    "android",
    "ios"
  ]
}

eas.json

{
  "build": {
    "base": {
      "bun": "1.0.25",
      "cache": {
        "disabled": true
      },
      "android": {
        "image": "latest",
        "resourceClass": "medium",
        "env": {
          "PLATFORM": "android"
        }
      },
      "ios": {
        "image": "latest",
        "resourceClass": "medium",
        "env": {
          "PLATFORM": "ios"
        }
      },
      "node": "20.10.0"
    },
    "development": {
      "extends": "base",
      "developmentClient": true,
      "distribution": "internal",
      "env": {
        "ENVIRONMENT": "development"
      }
    },
    "simulator": {
      "extends": "development",
      "env": {
        "ENVIRONMENT": "simulator"
      },
      "ios": {
        "simulator": true
      }
    },
    "production": {
      "extends": "base",
      "distribution": "store",
      "env": {
        "ENVIRONMENT": "production"
      }
    }
  },
  "submit": {
    "production": {
      "android": {
        "serviceAccountKeyPath": "google-services.key",
        "track": "internal"
      },
      "ios": {
        "appleId": "xxx",
        "appleTeamId": "xxx",
        "ascAppId": "xxx"
      }
    }
  }
}

package.json

{
  "name": "xxx",
  "private": true,
  "version": "50.0.8",
  "dependencies": {
    "@datadog/mobile-react-native": "^2.0.3",
    "@expo/config-plugins": "~7.8.4",
    "@expo/react-native-action-sheet": "^4.0.1",
    "@expo/vector-icons": "^14.0.0",
    "@react-native-community/datetimepicker": "7.6.1",
    "@react-native-firebase/analytics": "~18.7.3",
    "@react-native-firebase/app": "~18.7.3",
    "@react-native-picker/picker": "2.6.1",
    "@react-navigation/bottom-tabs": "~6.5.11",
    "@react-navigation/core": "~6.4.10",
    "@react-navigation/drawer": "~6.6.6",
    "@react-navigation/native": "~6.1.9",
    "@react-navigation/stack": "~6.3.20",
    "axios": "~1.6.5",
    "expo": "^50.0.3",
    "expo-build-properties": "~0.11.0",
    "expo-checkbox": "~2.7.0",
    "expo-datadog": "^50.1.0",
    "expo-dev-client": "~3.3.7",
    "expo-device": "~5.9.3",
    "expo-font": "~11.10.2",
    "expo-image-picker": "~14.7.1",
    "expo-insights": "~0.6.1",
    "expo-notifications": "~0.27.4",
    "expo-secure-store": "~12.8.1",
    "expo-splash-screen": "~0.26.4",
    "expo-status-bar": "~1.11.1",
    "expo-system-ui": "~2.9.3",
    "lodash": "~4.17.21",
    "moment-timezone": "~0.5.44",
    "patch-package": "~8.0.0",
    "prop-types": "~15.8.1",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-native": "0.73.2",
    "react-native-gesture-handler": "~2.14.1",
    "react-native-maps": "1.8.0",
    "react-native-modal": "~13.0.1",
    "react-native-reanimated": "~3.6.1",
    "react-native-safe-area-context": "4.8.2",
    "react-native-screens": "~3.29.0",
    "react-native-web": "~0.19.10",
    "react-native-webview": "13.6.4"
  },
  "devDependencies": {
    "@babel/core": "~7.23.7",
    "@datadog/datadog-ci": "^2.28.0",
    "babel-plugin-module-resolver": "~5.0.0"
  }
}

Full output of EAS dev build

Running 'gradlew :app:assembleDebug' in /home/expo/workingdir/build/android

Downloading https://services.gradle.org/distributions/gradle-8.3-all.zip

10

%.

20%

30%

40%.

50

%.

60%.

70%.

80%

90

%.

100%

Welcome to Gradle 8.3!

Here are the highlights of this release:

 - Faster Java compilation

 - Reduced memory usage

- Support for running on Java 20

For more details see https://docs.gradle.org/8.3/release-notes.html

To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.3/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.

Daemon will be stopped at the end of the build

Path for java installation '/usr/lib/jvm/openjdk-17' (Common Linux Locations) does not contain a java executable

> Task :expo-dev-launcher-gradle-plugin:pluginDescriptors

> Task :expo-dev-launcher-gradle-plugin:processResources

> Task :gradle-plugin:pluginDescriptors

> Task :gradle-plugin:processResources

> Task :expo-dev-launcher-gradle-plugin:compileKotlin

> Task :expo-dev-launcher-gradle-plugin:compileJava NO-SOURCE

> Task :expo-dev-launcher-gradle-plugin:classes

> Task :expo-dev-launcher-gradle-plugin:jar

> Task :expo-dev-launcher-gradle-plugin:inspectClassesForKotlinIC

> Task :gradle-plugin:compileKotlin

> Task :gradle-plugin:compileJava NO-SOURCE

> Task :gradle-plugin:classes

> Task :gradle-plugin:jar

> Task :gradle-plugin:inspectClassesForKotlinIC

> Configure project :app

ℹ️  Applying gradle plugin 'expo-dev-launcher-gradle-plugin' (expo-dev-launcher@3.6.4)

Path for java installation '/usr/lib/jvm/openjdk-17' (Common Linux Locations) does not contain a java executable

> Configure project :datadog_mobile-react-native

Checking the license for package Android SDK Build-Tools 34 in /home/expo/Android/Sdk/licenses

License for package Android SDK Build-Tools 34 accepted.

Preparing "Install Android SDK Build-Tools 34 v.34.0.0".

"Install Android SDK Build-Tools 34 v.34.0.0" ready.

Installing Android SDK Build-Tools 34 in /home/expo/Android/Sdk/build-tools/34.0.0

"Install Android SDK Build-Tools 34 v.34.0.0" complete.

"Install Android SDK Build-Tools 34 v.34.0.0" finished.

Checking the license for package Android SDK Platform 34 in /home/expo/Android/Sdk/licenses

License for package Android SDK Platform 34 accepted.

Preparing "Install Android SDK Platform 34 (revision 2)".

"Install Android SDK Platform 34 (revision 2)" ready.

Installing Android SDK Platform 34 in /home/expo/Android/Sdk/platforms/android-34

"Install Android SDK Platform 34 (revision 2)" complete.

"Install Android SDK Platform 34 (revision 2)" finished.

> Configure project :expo-modules-core

Checking the license for package NDK (Side by side) 25.1.8937393 in /home/expo/Android/Sdk/licenses

License for package NDK (Side by side) 25.1.8937393 accepted.

Preparing "Install NDK (Side by side) 25.1.8937393 v.25.1.8937393".

"Install NDK (Side by side) 25.1.8937393 v.25.1.8937393" ready.

Installing NDK (Side by side) 25.1.8937393 in /home/expo/Android/Sdk/ndk/25.1.8937393

"Install NDK (Side by side) 25.1.8937393 v.25.1.8937393" complete.

"Install NDK (Side by side) 25.1.8937393 v.25.1.8937393" finished.

> Configure project :expo

Using expo modules

  - expo-application (5.8.3)

  - expo-constants (15.4.5)

- expo-dev-client (3.3.7)

  - expo-dev-launcher (3.6.4)

  - expo-dev-menu (4.5.5)

  - expo-device (5.9.3)

  - expo-eas-client (0.11.2)

  - expo-file-system (16.0.5)

  - expo-font (11.10.2)

  - expo-image-loader (4.6.0)

  - expo-image-picker (14.7.1)

  - expo-insights (0.6.1)

  - expo-json-utils (0.12.3)

  - expo-keep-awake (12.8.2)

  - expo-manifests (0.13.2)

  - expo-modules-core (1.11.8)

  - expo-modules-core$android-annotation (1.11.8)

  - expo-modules-core$android-annotation-processor (1.11.8)

  - expo-notifications (0.27.4)

  - expo-secure-store (12.8.1)

- expo-splash-screen (0.26.4)

  - expo-system-ui (2.9.3)

> Configure project :react-native-firebase_analytics

:react-native-firebase_analytics package.json found at /home/expo/workingdir/build/node_modules/@react-native-firebase/analytics/package.json

:react-native-firebase_app package.json found at /home/expo/workingdir/build/node_modules/@react-native-firebase/app/package.json

:react-native-firebase_analytics:firebase.bom using default value: 32.7.0

:react-native-firebase_analytics package.json found at /home/expo/workingdir/build/node_modules/@react-native-firebase/analytics/package.json

:react-native-firebase_analytics:version set from package.json: 18.7.3 (18,7,3 - 18007003)

:react-native-firebase_analytics:android.compileSdk using custom value: 34

:react-native-firebase_analytics:android.targetSdk using custom value: 34

:react-native-firebase_analytics:android.minSdk using custom value: 23

:react-native-firebase_analytics:reactNativeAndroidDir /home/expo/workingdir/build/node_modules/react-native/android

> Configure project :react-native-firebase_app

:react-native-firebase_app package.json found at /home/expo/workingdir/build/node_modules/@react-native-firebase/app/package.json

:react-native-firebase_app:firebase.bom using default value: 32.7.0

:react-native-firebase_app:play.play-services-auth using default value: 20.7.0

:react-native-firebase_app package.json found at /home/expo/workingdir/build/node_modules/@react-native-firebase/app/package.json

:react-native-firebase_app:version set from package.json: 18.7.3 (18,7,3 - 18007003)

:react-native-firebase_app:android.compileSdk using custom value: 34

:react-native-firebase_app:android.targetSdk using custom value: 34

:react-native-firebase_app:android.minSdk using custom value: 23

:react-native-firebase_app:reactNativeAndroidDir /home/expo/workingdir/build/node_modules/react-native/android

> Configure project :react-native-reanimated

Android gradle plugin: 8.1.1

Gradle: 8.3

Checking the license for package Android SDK Build-Tools 33.0.1 in /home/expo/Android/Sdk/licenses

License for package Android SDK Build-Tools 33.0.1 accepted.

Preparing "Install Android SDK Build-Tools 33.0.1 v.33.0.1".

"Install Android SDK Build-Tools 33.0.1 v.33.0.1" ready.

Installing Android SDK Build-Tools 33.0.1 in /home/expo/Android/Sdk/build-tools/33.0.1

"Install Android SDK Build-Tools 33.0.1 v.33.0.1" complete.

"Install Android SDK Build-Tools 33.0.1 v.33.0.1" finished.

> Task :expo-application:preBuild UP-TO-DATE

> Task :datadog_mobile-react-native:preBuild UP-TO-DATE

> Task :datadog_mobile-react-native:preDebugBuild UP-TO-DATE

> Task :expo-dev-client:preBuild UP-TO-DATE

> Task :expo-application:preDebugBuild UP-TO-DATE

> Task :expo-modules-core$android-annotation-processor:processResources

> Task :expo-dev-launcher:preBuild UP-TO-DATE

> Task :expo-dev-client:preDebugBuild UP-TO-DATE

> Task :expo-dev-launcher:preDebugBuild UP-TO-DATE

> Task :expo-dev-launcher:writeDebugAarMetadata

> Task :expo-dev-menu:preBuild UP-TO-DATE

> Task :expo-dev-menu:preDebugBuild

UP-TO-DATE

> Task :expo-dev-menu:writeDebugAarMetadata

> Task :expo-dev-menu-interface:preBuild UP-TO-DATE

> Task :expo-dev-menu-interface:preDebugBuild UP-TO-DATE

> Task :expo-constants:createExpoConfig

> Task :expo-constants:preBuild

> Task :expo-constants:preDebugBuild

> Task :expo-dev-menu-interface:writeDebugAarMetadata

> Task :expo-device:preBuild UP-TO-DATE

> Task :expo-device:preDebugBuild UP-TO-DATE

> Task :expo:generateExpoModulesPackageList

> Task :expo:preBuild

> Task :expo:preDebugBuild

> Task :expo:writeDebugAarMetadata

> Task :expo-eas-client:preBuild UP-TO-DATE

> Task :expo-eas-client:preDebugBuild UP-TO-DATE

> Task :expo-dev-client:writeDebugAarMetadata

> Task :expo-file-system:preBuild UP-TO-DATE

> Task :expo-file-system:preDebugBuild UP-TO-DATE

> Task :expo-eas-client:writeDebugAarMetadata

> Task :expo-font:preBuild UP-TO-DATE

> Task :expo-font:preDebugBuild UP-TO-DATE

> Task :expo-font:writeDebugAarMetadata

> Task :expo-image-loader:preBuild UP-TO-DATE

> Task :expo-image-loader:preDebugBuild UP-TO-DATE

> Task :expo-constants:writeDebugAarMetadata

> Task :expo-image-picker:preBuild UP-TO-DATE

> Task :expo-image-picker:preDebugBuild UP-TO-DATE

> Task :expo-image-loader:writeDebugAarMetadata

> Task :expo-insights:preBuild UP-TO-DATE

> Task :expo-insights:preDebugBuild UP-TO-DATE

> Task :datadog_mobile-react-native:writeDebugAarMetadata

> Task :expo-json-utils:preBuild UP-TO-DATE

> Task :expo-json-utils:preDebugBuild UP-TO-DATE

> Task :expo-file-system:writeDebugAarMetadata

> Task :expo-keep-awake:preBuild UP-TO-DATE

> Task :expo-keep-awake:preDebugBuild UP-TO-DATE

> Task :expo-json-utils:writeDebugAarMetadata

> Task :expo-manifests:preBuild UP-TO-DATE

> Task :expo-manifests:preDebugBuild UP-TO-DATE

> Task :expo-keep-awake:writeDebugAarMetadata

> Task :expo-modules-core:preBuild UP-TO-DATE

> Task :expo-modules-core:preDebugBuild UP-TO-DATE

> Task :expo-modules-core:writeDebugAarMetadata

> Task :expo-notifications:preBuild UP-TO-DATE

> Task :expo-notifications:preDebugBuild UP-TO-DATE

> Task :expo-insights:writeDebugAarMetadata

> Task :expo-secure-store:preBuild UP-TO-DATE

> Task :expo-secure-store:preDebugBuild UP-TO-DATE

> Task :expo-application:writeDebugAarMetadata

> Task :expo-splash-screen:preBuild UP-TO-DATE

> Task :expo-splash-screen:preDebugBuild UP-TO-DATE

> Task :expo-notifications:writeDebugAarMetadata

> Task :expo-image-picker:writeDebugAarMetadata

> Task :expo-system-ui:preBuild UP-TO-DATE

> Task :expo-system-ui:preDebugBuild UP-TO-DATE

> Task :expo-splash-screen:writeDebugAarMetadata

> Task :expo-updates-interface:preBuild UP-TO-DATE

> Task :expo-updates-interface:preDebugBuild UP-TO-DATE

> Task :expo-system-ui:writeDebugAarMetadata

> Task :react-native-community_datetimepicker:preBuild UP-TO-DATE

> Task :react-native-community_datetimepicker:preDebugBuild UP-TO-DATE

> Task :react-native-community_datetimepicker:writeDebugAarMetadata

> Task :react-native-firebase_analytics:preBuild UP-TO-DATE

> Task :react-native-firebase_analytics:preDebugBuild UP-TO-DATE

> Task :expo-secure-store:writeDebugAarMetadata

> Task :react-native-firebase_app:preBuild UP-TO-DATE

> Task :react-native-firebase_app:preDebugBuild UP-TO-DATE

> Task :expo-manifests:writeDebugAarMetadata

> Task :react-native-gesture-handler:preBuild UP-TO-DATE

> Task :react-native-gesture-handler:preDebugBuild UP-TO-DATE

> Task :expo-device:writeDebugAarMetadata

> Task :react-native-maps:preBuild UP-TO-DATE

> Task :react-native-maps:preDebugBuild UP-TO-DATE

> Task :expo-updates-interface:writeDebugAarMetadata

> Task :react-native-picker_picker:preBuild UP-TO-DATE

> Task :react-native-picker_picker:preDebugBuild UP-TO-DATE

> Task :react-native-firebase_analytics:writeDebugAarMetadata

> Task :react-native-reanimated:assertLatestReactNativeWithNewArchitectureTask SKIPPED

> Task :react-native-reanimated:assertMinimalReactNativeVersionTask SKIPPED

> Task :react-native-firebase_app:writeDebugAarMetadata

> Task :react-native-safe-area-context:preBuild UP-TO-DATE

> Task :react-native-safe-area-context:preDebugBuild UP-TO-DATE

> Task :react-native-gesture-handler:writeDebugAarMetadata

> Task :react-native-screens:preBuild UP-TO-DATE

> Task :react-native-screens:preDebugBuild UP-TO-DATE

> Task :react-native-maps:writeDebugAarMetadata

> Task :react-native-webview:preBuild UP-TO-DATE

> Task :react-native-webview:preDebugBuild UP-TO-DATE

> Task :react-native-picker_picker:writeDebugAarMetadata

> Task :react-native-safe-area-context:writeDebugAarMetadata

> Task :datadog_mobile-react-native:generateDebugResValues

> Task :datadog_mobile-react-native:generateDebugResources

> Task :expo:generateDebugResValues

> Task :expo:generateDebugResources

> Task :react-native-reanimated:prepareHeadersForPrefab

> Task :react-native-reanimated:preBuild

> Task :react-native-reanimated:preDebugBuild

> Task :react-native-screens:writeDebugAarMetadata

> Task :expo-application:generateDebugResValues

> Task :expo-application:generateDebugResources

> Task :react-native-webview:writeDebugAarMetadata

> Task :expo-constants:generateDebugResValues

> Task :expo-constants:generateDebugResources

> Task :datadog_mobile-react-native:packageDebugResources

> Task :expo:packageDebugResources

> Task :expo-dev-client:generateDebugResValues

> Task :expo-dev-client:generateDebugResources

> Task :expo-dev-launcher:generateDebugResValues

> Task :expo-dev-launcher:generateDebugResources

> Task :expo-constants:packageDebugResources

> Task :expo-application:packageDebugResources

> Task :expo-dev-menu:generateDebugResValues

> Task :expo-dev-menu:generateDebugResources

> Task :expo-dev-menu-interface:generateDebugResValues

> Task :expo-dev-menu-interface:generateDebugResources

> Task :expo-dev-menu-interface:packageDebugResources

> Task :expo-device:generateDebugResValues

> Task :expo-device:generateDebugResources

> Task :expo-dev-client:packageDebugResources

> Task :expo-eas-client:generateDebugResValues

> Task :expo-eas-client:generateDebugResources

> Task :expo-device:packageDebugResources

> Task :expo-eas-client:packageDebugResources

> Task :expo-file-system:generateDebugResValues

> Task :expo-file-system:generateDebugResources

> Task :expo-font:generateDebugResValues

> Task :expo-font:generateDebugResources

> Task :expo-font:packageDebugResources

> Task :expo-image-loader:generateDebugResValues

> Task :expo-image-loader:generateDebugResources

> Task :expo-image-loader:packageDebugResources

> Task :expo-image-picker:generateDebugResValues

> Task :expo-image-picker:generateDebugResources

> Task :expo-file-system:packageDebugResources

> Task :expo-image-picker:packageDebugResources

> Task :expo-insights:generateDebugResValues

> Task :expo-insights:generateDebugResources

> Task :expo-json-utils:generateDebugResValues

> Task :expo-json-utils:generateDebugResources

> Task :expo-insights:packageDebugResources

> Task :expo-keep-awake:generateDebugResValues

> Task :expo-keep-awake:generateDebugResources

> Task :expo-keep-awake:packageDebugResources

> Task :expo-json-utils:packageDebugResources

> Task :expo-modules-core$android-annotation:processResources NO-SOURCE

> Task :expo-modules-core:generateDebugResValues

> Task :expo-manifests:generateDebugResValues

> Task :expo-modules-core:generateDebugResources

> Task :expo-manifests:generateDebugResources

> Task :expo-dev-menu:packageDebugResources

> Task :expo-modules-core:packageDebugResources

> Task :expo-manifests:packageDebugResources

> Task :expo-notifications:generateDebugResValues

> Task :expo-splash-screen:generateDebugResValues

> Task :expo-notifications:generateDebugResources

> Task :expo-splash-screen:generateDebugResources

> Task :expo-secure-store:generateDebugResValues

> Task :expo-secure-store:generateDebugResources

> Task :react-native-reanimated:writeDebugAarMetadata

> Task :expo-system-ui:generateDebugResValues

> Task :expo-system-ui:generateDebugResources

> Task :expo-secure-store:packageDebugResources

> Task :expo-notifications:packageDebugResources

> Task :expo-updates-interface:generateDebugResValues

> Task :expo-updates-interface:generateDebugResources

> Task :react-native-community_datetimepicker:generateDebugResValues

> Task :react-native-community_datetimepicker:generateDebugResources

> Task :expo-splash-screen:packageDebugResources

> Task :react-native-firebase_analytics:generateDebugResValues

> Task :react-native-firebase_analytics:generateDebugResources

> Task :expo-updates-interface:packageDebugResources

> Task :react-native-firebase_app:generateDebugResValues

> Task :react-native-firebase_app:generateDebugResources

> Task :expo-system-ui:packageDebugResources

> Task :react-native-community_datetimepicker:packageDebugResources

> Task :react-native-gesture-handler:generateDebugResValues

> Task :react-native-gesture-handler:generateDebugResources

> Task :react-native-firebase_analytics:packageDebugResources

> Task :react-native-firebase_app:packageDebugResources

> Task :react-native-maps:generateDebugResValues

> Task :react-native-reanimated:generateDebugResValues

> Task :react-native-maps:generateDebugResources

> Task :react-native-picker_picker:generateDebugResValues

> Task :react-native-picker_picker:generateDebugResources

> Task :react-native-reanimated:generateDebugResources

> Task :react-native-maps:packageDebugResources

> Task :react-native-gesture-handler:packageDebugResources

> Task :react-native-safe-area-context:generateDebugResValues

> Task :react-native-safe-area-context:generateDebugResources

> Task :react-native-picker_picker:packageDebugResources

> Task :react-native-reanimated:packageDebugResources

> Task :react-native-screens:generateDebugResValues

> Task :datadog_mobile-react-native:extractDeepLinksDebug

> Task :react-native-webview:generateDebugResValues

> Task :react-native-safe-area-context:packageDebugResources

> Task :react-native-screens:generateDebugResources

> Task :react-native-webview:generateDebugResources

> Task :expo:extractDeepLinksDebug

> Task :react-native-webview:packageDebugResources

> Task :expo-application:extractDeepLinksDebug

> Task :react-native-screens:packageDebugResources

> Task :expo-constants:extractDeepLinksDebug

> Task :expo:processDebugManifest

> Task :expo-constants:processDebugManifest

> Task :datadog_mobile-react-native:processDebugManifest

package="com.datadog.reactnative" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/@datadog/mobile-react-native/android/src/main/AndroidManifest.xml.

Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.

Recommendation: remove package="com.datadog.reactnative" from the source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/@datadog/mobile-react-native/android/src/main/AndroidManifest.xml.

> Task :expo-dev-client:extractDeepLinksDebug

> Task :expo-dev-menu:extractDeepLinksDebug

> Task :expo-application:processDebugManifest

> Task :expo-dev-menu-interface:extractDeepLinksDebug

> Task :expo-device:extractDeepLinksDebug

> Task :expo-dev-client:processDebugManifest

> Task :expo-eas-client:extractDeepLinksDebug

> Task :expo-dev-menu:processDebugManifest

> Task :expo-file-system:extractDeepLinksDebug

> Task :expo-device:processDebugManifest

> Task :expo-dev-menu-interface:processDebugManifest

> Task :expo-eas-client:processDebugManifest

> Task :expo-image-loader:extractDeepLinksDebug

> Task :expo-font:extractDeepLinksDebug

> Task :expo-image-picker:extractDeepLinksDebug

> Task :expo-image-loader:processDebugManifest

> Task :expo-file-system:processDebugManifest

/home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/AndroidManifest.xml:6:9-8:20 Warning:

    provider#expo.modules.filesystem.FileSystemFileProvider@android:authorities was tagged at AndroidManifest.xml:6 to replace other declarations but no other declaration present

> Task :expo-insights:extractDeepLinksDebug

> Task :expo-json-utils:extractDeepLinksDebug

> Task :expo-font:processDebugManifest

> Task :expo-keep-awake:extractDeepLinksDebug

> Task :expo-image-picker:processDebugManifest

> Task :expo-keep-awake:processDebugManifest

> Task :expo-insights:processDebugManifest

> Task :expo-json-utils:processDebugManifest

> Task :expo-notifications:extractDeepLinksDebug

> Task :expo-secure-store:extractDeepLinksDebug

> Task :expo-manifests:extractDeepLinksDebug

> Task :expo-modules-core:extractDeepLinksDebug

> Task :expo-secure-store:processDebugManifest

> Task :expo-manifests:processDebugManifest

> Task :expo-splash-screen:extractDeepLinksDebug

> Task :expo-modules-core:processDebugManifest

/home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/AndroidManifest.xml:8:9-11:45 Warning:

    meta-data#com.facebook.soloader.enabled@android:value was tagged at AndroidManifest.xml:8 to replace other declarations but no other declaration present

> Task :expo-notifications:processDebugManifest

> Task :react-native-community_datetimepicker:extractDeepLinksDebug

> Task :expo-updates-interface:extractDeepLinksDebug

> Task :expo-splash-screen:processDebugManifest

> Task :expo-system-ui:extractDeepLinksDebug

> Task :react-native-community_datetimepicker:processDebugManifest

package="com.reactcommunity.rndatetimepicker" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/@react-native-community/datetimepicker/android/src/main/AndroidManifest.xml.

Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.

Recommendation: remove package="com.reactcommunity.rndatetimepicker" from the source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/@react-native-community/datetimepicker/android/src/main/AndroidManifest.xml.

> Task :react-native-firebase_analytics:extractDeepLinksDebug

> Task :react-native-firebase_app:extractDeepLinksDebug

> Task :expo-system-ui:processDebugManifest

> Task :react-native-gesture-handler:extractDeepLinksDebug

> Task :expo-updates-interface:processDebugManifest

> Task :react-native-maps:extractDeepLinksDebug

> Task :react-native-firebase_app:processDebugManifest

package="io.invertase.firebase" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/@react-native-firebase/app/android/src/main/AndroidManifest.xml.

Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.

Recommendation: remove package="io.invertase.firebase" from the source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/@react-native-firebase/app/android/src/main/AndroidManifest.xml.

> Task :react-native-gesture-handler:processDebugManifest

package="com.swmansion.gesturehandler" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/react-native-gesture-handler/android/src/main/AndroidManifest.xml.

Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.

Recommendation: remove package="com.swmansion.gesturehandler" from the source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/react-native-gesture-handler/android/src/main/AndroidManifest.xml.

> Task :react-native-firebase_analytics:processDebugManifest

package="io.invertase.firebase.analytics" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/@react-native-firebase/analytics/android/src/main/AndroidManifest.xml.

Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.

Recommendation: remove package="io.invertase.firebase.analytics" from the source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/@react-native-firebase/analytics/android/src/main/AndroidManifest.xml.

> Task :react-native-maps:processDebugManifest

package="com.rnmaps.maps" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/react-native-maps/android/src/main/AndroidManifest.xml.

Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.

Recommendation: remove package="com.rnmaps.maps" from the source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/react-native-maps/android/src/main/AndroidManifest.xml.

> Task :react-native-safe-area-context:extractDeepLinksDebug

> Task :react-native-screens:extractDeepLinksDebug

> Task :react-native-reanimated:extractDeepLinksDebug

> Task :react-native-picker_picker:extractDeepLinksDebug

> Task :react-native-reanimated:processDebugManifest

package="com.swmansion.reanimated" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/react-native-reanimated/android/src/main/AndroidManifest.xml.

Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.

Recommendation: remove package="com.swmansion.reanimated" from the source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/react-native-reanimated/android/src/main/AndroidManifest.xml.

> Task :react-native-screens:processDebugManifest

package="com.swmansion.rnscreens" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/AndroidManifest.xml.

Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.

Recommendation: remove package="com.swmansion.rnscreens" from the source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/AndroidManifest.xml.

> Task :react-native-safe-area-context:processDebugManifest

package="com.th3rdwave.safeareacontext" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/react-native-safe-area-context/android/src/main/AndroidManifest.xml.

Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.

Recommendation: remove package="com.th3rdwave.safeareacontext" from the source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/react-native-safe-area-context/android/src/main/AndroidManifest.xml.

> Task :react-native-webview:extractDeepLinksDebug

> Task :react-native-picker_picker:processDebugManifest

package="com.reactnativecommunity.picker" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/@react-native-picker/picker/android/src/main/AndroidManifest.xml.

Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.

Recommendation: remove package="com.reactnativecommunity.picker" from the source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/@react-native-picker/picker/android/src/main/AndroidManifest.xml.

> Task :react-native-webview:processDebugManifest

> Task :expo-dev-launcher:packageDebugResources

> Task :expo-dev-launcher:extractDeepLinksDebug

> Task :expo-dev-launcher:processDebugManifest

> Task :expo-constants:compileDebugLibraryResources

> Task :expo-application:compileDebugLibraryResources

> Task :expo-dev-client:compileDebugLibraryResources

> Task :datadog_mobile-react-native:compileDebugLibraryResources

> Task :expo:compileDebugLibraryResources

> Task :expo-modules-core$android-annotation:compileKotlin

> Task :expo-modules-core$android-annotation:compileJava NO-SOURCE

> Task :expo-modules-core$android-annotation:classes UP-TO-DATE

> Task :expo-modules-core$android-annotation:jar

> Task :expo-modules-core$android-annotation:inspectClassesForKotlinIC

> Task :expo-dev-client:parseDebugLocalResources

> Task :expo-application:parseDebugLocalResources

> Task :datadog_mobile-react-native:parseDebugLocalResources

> Task :expo-constants:parseDebugLocalResources

> Task :expo:parseDebugLocalResources

> Task :expo-constants:generateDebugRFile

> Task :datadog_mobile-react-native:generateDebugRFile

> Task :expo-application:generateDebugRFile

> Task :expo:generateDebugRFile

> Task :expo-dev-client:generateDebugRFile

> Task :expo-dev-menu:parseDebugLocalResources

> Task :expo-dev-launcher:parseDebugLocalResources

> Task :expo-dev-launcher:generateDebugRFile

> Task :expo-dev-menu:generateDebugRFile

> Task :expo-dev-menu-interface:compileDebugLibraryResources

> Task :expo-dev-menu-interface:parseDebugLocalResources

> Task :expo-device:compileDebugLibraryResources

> Task :expo-dev-launcher:compileDebugLibraryResources

> Task :expo-dev-menu:compileDebugLibraryResources

> Task :expo-dev-menu-interface:generateDebugRFile

> Task :expo-device:parseDebugLocalResources

> Task :expo-eas-client:compileDebugLibraryResources

> Task :expo-device:generateDebugRFile

> Task :expo-file-system:compileDebugLibraryResources

> Task :expo-eas-client:parseDebugLocalResources

> Task :expo-file-system:parseDebugLocalResources

> Task :expo-eas-client:generateDebugRFile

> Task :expo-file-system:generateDebugRFile

> Task :expo-font:compileDebugLibraryResources

> Task :expo-font:parseDebugLocalResources

> Task :expo-image-loader:compileDebugLibraryResources

> Task :expo-font:generateDebugRFile

> Task :expo-image-picker:compileDebugLibraryResources

> Task :expo-image-picker:parseDebugLocalResources

> Task :expo-image-loader:parseDebugLocalResources

> Task :expo-image-picker:generateDebugRFile

> Task :expo-image-loader:generateDebugRFile

> Task :expo-insights:compileDebugLibraryResources

> Task :expo-json-utils:compileDebugLibraryResources

> Task :expo-json-utils:parseDebugLocalResources

> Task :expo-json-utils:generateDebugRFile

> Task :expo-keep-awake:compileDebugLibraryResources

> Task :expo-insights:parseDebugLocalResources

> Task :expo-keep-awake:parseDebugLocalResources

> Task :expo-insights:generateDebugRFile

> Task :expo-keep-awake:generateDebugRFile

> Task :expo-manifests:parseDebugLocalResources

> Task :expo-manifests:compileDebugLibraryResources

> Task :expo-modules-core:compileDebugLibraryResources

> Task :expo-manifests:generateDebugRFile

> Task :expo-modules-core:parseDebugLocalResources

> Task :expo-modules-core:generateDebugRFile

> Task :expo-notifications:compileDebugLibraryResources

> Task :expo-notifications:parseDebugLocalResources

> Task :expo-secure-store:compileDebugLibraryResources

> Task :expo-notifications:generateDebugRFile

> Task :expo-splash-screen:compileDebugLibraryResources

> Task :expo-secure-store:parseDebugLocalResources

> Task :expo-splash-screen:parseDebugLocalResources

> Task :expo-splash-screen:generateDebugRFile

> Task :expo-system-ui:compileDebugLibraryResources

> Task :expo-secure-store:generateDebugRFile

> Task :expo-system-ui:parseDebugLocalResources

> Task :expo-system-ui:generateDebugRFile

> Task :expo-updates-interface:parseDebugLocalResources

> Task :expo-updates-interface:generateDebugRFile

> Task :expo-updates-interface:compileDebugLibraryResources

> Task :react-native-community_datetimepicker:compileDebugLibraryResources

> Task :react-native-community_datetimepicker:parseDebugLocalResources

> Task :react-native-community_datetimepicker:generateDebugRFile

> Task :react-native-firebase_analytics:compileDebugLibraryResources

> Task :react-native-firebase_analytics:parseDebugLocalResources

> Task :react-native-firebase_app:compileDebugLibraryResources

> Task :react-native-firebase_app:parseDebugLocalResources

> Task :react-native-firebase_analytics:generateDebugRFile

> Task :react-native-gesture-handler:compileDebugLibraryResources

> Task :react-native-firebase_app:generateDebugRFile

> Task :react-native-gesture-handler:parseDebugLocalResources

> Task :react-native-maps:compileDebugLibraryResources

> Task :react-native-gesture-handler:generateDebugRFile

> Task :react-native-maps:parseDebugLocalResources

> Task :react-native-maps:generateDebugRFile

> Task :react-native-picker_picker:compileDebugLibraryResources

> Task :react-native-picker_picker:parseDebugLocalResources

> Task :react-native-reanimated:compileDebugLibraryResources

> Task :react-native-picker_picker:generateDebugRFile

> Task :react-native-reanimated:parseDebugLocalResources

> Task :react-native-reanimated:generateDebugRFile

> Task :react-native-safe-area-context:compileDebugLibraryResources

> Task :expo-modules-core$android-annotation-processor:compileKotlin

> Task :expo-modules-core$android-annotation-processor:compileJava NO-SOURCE

> Task :expo-modules-core$android-annotation-processor:classes

> Task :expo-modules-core$android-annotation-processor:jar

> Task :expo-modules-core$android-annotation-processor:inspectClassesForKotlinIC

> Task :react-native-screens:compileDebugLibraryResources

> Task :react-native-screens:parseDebugLocalResources

> Task :react-native-safe-area-context:parseDebugLocalResources

> Task :react-native-screens:generateDebugRFile

> Task :react-native-webview:compileDebugLibraryResources

> Task :react-native-safe-area-context:generateDebugRFile

> Task :react-native-webview:parseDebugLocalResources

> Task :datadog_mobile-react-native:generateDebugBuildConfig

> Task :react-native-webview:generateDebugRFile

> Task :expo:generateDebugBuildConfig

> Task :expo-application:generateDebugBuildConfig

> Task :expo-modules-core:generateDebugBuildConfig

> Task :expo-application:javaPreCompileDebug

> Task :expo-constants:generateDebugBuildConfig

> Task :expo-constants:javaPreCompileDebug

> Task :expo-dev-client:dataBindingMergeDependencyArtifactsDebug

> Task :expo-dev-client:dataBindingGenBaseClassesDebug

> Task :datadog_mobile-react-native:compileDebugKotlin FAILED

> Task :expo-modules-core:compileDebugKotlin

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/core/utilities/EmulatorUtilities.kt:30:13 'SERIAL: String!' is deprecated. Deprecated in Java

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/AppContext.kt:151:13 Variable 'catalystInstance' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/ExpoModulesHelper.kt:11:21 'newInstance(): T!' is deprecated. Deprecated in Java

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/Promise.kt:72:18 This declaration overrides deprecated member but not marked as deprecated itself. This deprecation won't be inherited in future releases. Please add @Deprecated annotation or suppress. See https://youtrack.jetbrains.com/issue/KT-47902 for details

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/Utils.kt:8:3 Expected performance impact from inlining is insignificant. Inlining works best for functions with parameters of functional types

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/ActivityResultsManager.kt:51:24 Parameter 'activity' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/AppContextActivityResultRegistry.kt:119:51 'getParcelableExtra(String!): T?' is deprecated. Deprecated in Java

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/AppContextActivityResultRegistry.kt:186:26 'getParcelable(String?): T?' is deprecated. Deprecated in Java

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/AppContextActivityResultRegistry.kt:277:83 'getParcelable(String?): T?' is deprecated. Deprecated in Java

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/DataPersistor.kt:67:20 'getSerializable(String?): Serializable?' is deprecated. Deprecated in Java

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/DataPersistor.kt:85:26 'getSerializable(String?): Serializable?' is deprecated. Deprecated in Java

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/devtools/cdp/CdpNetworkTypes.kt:186:54 Parameter 'request' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/devtools/cdp/CdpNetworkTypes.kt:210:54 Parameter 'request' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/devtools/cdp/CdpNetworkTypes.kt:230:15 Parameter 'now' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/devtools/cdp/CdpNetworkTypes.kt:230:54 Parameter 'request' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/events/KModuleEventEmitterWrapper.kt:90:7 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/jni/JavaScriptObject.kt:90:33 Parameter 'null' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/jni/JavaScriptObject.kt:91:34 Parameter 'null' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/jni/JavaScriptObject.kt:132:5 Parameter 'null' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/sharedobjects/SharedObjectRegistry.kt:54:35 Destructured parameter 'js' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/tracing/ExpoTrace.kt:33:1 Expected performance impact from inlining is insignificant. Inlining works best for functions with parameters of functional types

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/tracing/ExpoTrace.kt:40:1 Expected performance impact from inlining is insignificant. Inlining works best for functions with parameters of functional types

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/tracing/ExpoTrace.kt:50:1 Expected performance impact from inlining is insignificant. Inlining works best for functions with parameters of functional types

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/tracing/ExpoTrace.kt:56:1 Expected performance impact from inlining is insignificant. Inlining works best for functions with parameters of functional types

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/Either.kt:76:12 Parameter 'type' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/Either.kt:79:12 Parameter 'type' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/Either.kt:82:11 Parameter 'type' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/Either.kt:85:11 Parameter 'type' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/Either.kt:99:12 Parameter 'type' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/Either.kt:102:11 Parameter 'type' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/Either.kt:114:12 Parameter 'type' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/Either.kt:117:11 Parameter 'type' is never used

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/JSTypeConverterHelper.kt:44:17 'get(String!): Any?' is deprecated. Deprecated in Java

w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/TypeConverterProvider.kt:175:46 'newInstance(): T!' is deprecated. Deprecated in Java

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':datadog_mobile-react-native:compileDebugKotlin'.

> 'compileDebugJavaWithJavac' task (current target is 17) and 'compileDebugKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version.

  Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain

* Try:

> Run with --stacktrace option to get the stack trace.

> Run with --info or --debug option to get more log output.

> Run with --scan to get full insights.

> Get more help at https://help.gradle.org.

BUILD FAILED in 3m 22s

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

303 actionable tasks: 303 executed

Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.
alon7 commented 10 months ago

Happened to us as well. Patching node_modules/@datadog/mobile-react-native/android/build.gradle worked.

Here's the patch:

--- a/node_modules/@datadog/mobile-react-native/android/build.gradle
+++ b/node_modules/@datadog/mobile-react-native/android/build.gradle
@@ -142,8 +142,8 @@ android {
     disable 'GradleCompatible'
   }
   compileOptions {
-    sourceCompatibility JavaVersion.VERSION_11
-    targetCompatibility JavaVersion.VERSION_11
+    sourceCompatibility JavaVersion.VERSION_17
+    targetCompatibility JavaVersion.VERSION_17
   }
 }

@@ -210,7 +210,7 @@ unMock {

 tasks.withType(Test) {
   tasks.withType(KotlinCompile) {
-    kotlinOptions.jvmTarget = JavaVersion.VERSION_11
+    kotlinOptions.jvmTarget = JavaVersion.VERSION_17
   }

   useJUnitPlatform {
avrabel-work commented 10 months ago

Worked like a charm. Thanks @alon7!

louiszawadzki commented 10 months ago

Hi @avrabel-work and @alon7 for reaching out!

We've had reports of this issue yesterday here and we're currently working on releasing a new version supporting this.

I'll let you know once the new release is available, in the meantime using patch-package is indeed probably the best solution to unblock you.

louiszawadzki commented 10 months ago

Hi @avrabel-work @alon7, We've released @datadog/mobile-react-native version 2.0.4 that should fix your issue. You only need to update this package to version 2.0.4 to fix the issue.

I'll close this issue, feel free to reopen it if the problem is not fixed for you!