Skip to content

Build error occurs in Android app with React Native 0.81.4 and Expo SDK 54.0.7 in EAS Build #367

@johnsnaply

Description

@johnsnaply

Description

Task :rive-react-native:compileDebugKotlin FAILED
e: file:///home/expo/workingdir/build/node_modules/rive-react-native/android/src/main/java/com/rivereactnative/RiveReactNativeView.kt:809:36 Argument type mismatch: actual type is 'String?', but 'String' was expected.
e: file:///home/expo/workingdir/build/node_modules/rive-react-native/android/src/main/java/com/rivereactnative/RiveReactNativeViewManager.kt:17:12 Return type mismatch: expected 'MutableMap<String, Map<String, String>>?', actual 'Map<String, Map<String, String>>'.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':rive-react-native:compileDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details

  • 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 4m 28s

Provide a Repro

Just build the project with React Native 0.81.4 and Expo SDK 54.0.7 in EAS Build

Screenshots

<-- If applicable, add screenshots to help explain your problem. -->

Screenshot

Device & Versions (please complete the following information)

  • Device: [e.g. Android Emulator, iOS Simulator]
  • OS: [e.g. Android SDK API Level 30, iOS 14.5]
  • NPM Version: [Copy-paste the output of npm --version e.g.: 7.10.2]

Additional context

<-- Add any other context about the problem here. -->

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions