Skip to content

Failing to build project #27281

@AshrafChitamba

Description

@AshrafChitamba

Describe the issue

This code in the build.gradle was causing the build to fail:

if (VersionNumber.parse(REACT_NATIVE_VERSION) < VersionNumber.parse("0.71")) {
extractLibs "com.facebook.fbjni:fbjni:+:headers"
extractLibs "com.facebook.fbjni:fbjni:+"
}

I had to comment it out for it to work.

Urgency

Not urgent

Target platform

React Native

Build script

npm run build

Error / output

A problem occurred evaluating project ':onnxruntime-react-native'. > Could not get unknown property 'VersionNumber' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

Visual Studio Version

1.109.0

GCC / Compiler Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildbuild issues; typically submitted using templateplatform:webissues related to ONNX Runtime web; typically submitted using template

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions