Skip to content

build error #4

@sytolk

Description

@sytolk

I have Gradle build error starting npm script "build:local": "eas build --local"
I suppose this is from my java version:

bash-3.2$ java --version
java 17.0.3.1 2022-04-22 LTS

What is java version needed to build this project Java 8 ?

Could not resolve com.facebook.react:react-native-gradle-plugin.
[RUN_GRADLEW]         Required by:
[RUN_GRADLEW]             project :
[RUN_GRADLEW]          > No matching variant of project :gradle-plugin was found. The consumer was configured to find a library for use during runtime, compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.6' but:
[RUN_GRADLEW]              - Variant 'apiElements' capability com.facebook.react:react-native-gradle-plugin:unspecified declares a library, packaged as a jar, and its dependencies declared externally:
[RUN_GRADLEW]                  - Incompatible because this component declares a component for use during compile-time, compatible with Java 11 and the consumer needed a component for use during runtime, compatible with Java 8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions