100ms-react-native icon indicating copy to clipboard operation
100ms-react-native copied to clipboard

🐛 Build Failure: Incompatible with Expo SDK 54 and react native 0.81.5

Open theafolayan opened this issue 2 months ago • 3 comments

Description

The App fails to compile on react native 0.81.5 and expo SDK 54.

The error recieved is always FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':100mslive_react-native-hms:compileReleaseKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction

(more logs below)

100ms React Native Version

1.12.0

React Native Version

0.81.5

Steps to reproduce

  • Setup an Expo 54 project with react native 0.81.5
  • Run eas build -p android or react native run:android

Expected results

I expected my Compilation to be Successful with my aab / apk file successfully compiled.

Code example, screenshot, or link to a repository

Code sample

  "@100mslive/react-native-hms": "^1.12.0",
    "@100mslive/react-native-room-kit": "^1.3.0",
    "react-native": "0.81.5",
    "expo": "^54.0.20",


Logs

Logs

 Task :100mslive_react-native-hms:compileReleaseKotlin FAILED
e: file:///home/expo/workingdir/build/node_modules/@100mslive/react-native-hms/android/src/main/java/com/reactnativehmssdk/HMSHLSPlayerManager.kt:100:5 Return type mismatch: expected 'MutableMap<String, Int>?', actual 'Map<String, Int>'.
e: file:///home/expo/workingdir/build/node_modules/@100mslive/react-native-hms/android/src/main/java/com/reactnativehmssdk/HMSManager.kt:99:9 Unresolved reference 'currentActivity'.
e: file:///home/expo/workingdir/build/node_modules/@100mslive/react-native-hms/android/src/main/java/com/reactnativehmssdk/HMSManager.kt:99:26 Cannot infer type for this parameter. Specify it explicitly.
e: file:///home/expo/workingdir/build/node_modules/@100mslive/react-native-hms/android/src/main/java/com/reactnativehmssdk/HMSManager.kt:99:30 Cannot infer type for this parameter. Specify it explicitly.
e: file:///home/expo/workingdir/build/node_modules/@100mslive/react-native-hms/android/src/main/java/com/reactnativehmssdk/HMSManager.kt:441:5 Unresolved reference 'currentActivity'.
e: file:///home/expo/workingdir/build/node_modules/@100mslive/react-native-hms/android/src/main/java/com/reactnativehmssdk/HMSManager.kt:464:5 Unresolved reference 'currentActivity'.
e: file:///home/expo/workingdir/build/node_modules/@100mslive/react-native-hms/android/src/main/java/com/reactnativehmssdk/HMSManager.kt:473:5 Unresolved reference 'currentActivity'.
e: file:///home/expo/workingdir/build/node_modules/@100mslive/react-native-hms/android/src/main/java/com/reactnativehmssdk/HMSManager.kt:496:5 Unresolved reference 'currentActivity'.
e: file:///home/expo/workingdir/build/node_modules/@100mslive/react-native-hms/android/src/main/java/com/reactnativehmssdk/HMSManager.kt:787:20 Unresolved reference 'currentActivity'.
e: file:///home/expo/workingdir/build/node_modules/@100mslive/react-native-hms/android/src/main/java/com/reactnativehmssdk/HMSManager.kt:853:16 Unresolved reference 'setPictureInPictureParams'.
e: file:///home/expo/workingdir/build/node_modules/@100mslive/react-native-hms/android/src/main/java/com/reactnativehmssdk/HMSManager.kt:1088:22 Unresolved reference 'currentActivity'.
e: file:///home/expo/workingdir/build/node_modules/@100mslive/react-native-hms/android/src/main/java/com/reactnativehmssdk/HMSManager.kt:1125:22 Unresolved reference 'currentActivity'.
e: file:///home/expo/workingdir/build/node_modules/@100mslive/react-native-hms/android/src/main/java/com/reactnativehmssdk/HMSManager.kt:1716:9 Unresolved reference 'currentActivity'.
e: file:///home/expo/workingdir/build/node_modules/@100mslive/react-native-hms/android/src/main/java/com/reactnativehmssdk/HMSSDKViewManager.kt:25:5 Return type mismatch: expected 'MutableMap<String, Any>?', actual 'Map<String, Any>'.
> Task :react-native-svg:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :app:createBundleReleaseJsAndAssets_SentryUpload_com.mytherapist.ng.mytherapistng@1.6.6+65_65
Copy `debugId` from packager source map to Hermes source map...
Done.

theafolayan avatar Nov 04 '25 04:11 theafolayan

@ygit I've raised #1514 to Fix this.

Please review and Merge.

This has cost of a lot of hours waiting for a fix already.

theafolayan avatar Nov 07 '25 08:11 theafolayan

@ygit ,

theafolayan avatar Nov 27 '25 13:11 theafolayan

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Dec 28 '25 02:12 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Jan 03 '26 02:01 github-actions[bot]