Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

react_native_pytorch_core error during gradle build #213

@yMayanand

Description

@yMayanand

Version

No response

Problem Area

react-native-pytorch-core (core package)

Steps to Reproduce

No response

Expected Results

No response

Code example, screenshot, or link to repository

WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the `gradle.properties` file or use the new publishing DSL.

[stderr] 
FAILURE: Build failed with an exception.

[stderr] 
* Where:

[stderr] 
Build file '/home/expo/workingdir/build/node_modules/react-native-pytorch-core/android/build.gradle' line: 132

[stderr] 
* What went wrong:

[stderr] 
A problem occurred evaluating project ':react-native-pytorch-core'.

[stderr] 
> Expected directory '/home/expo/workingdir/build/android/../node_modules/react-native/android' to contain exactly one file, however, it contains no files.

[stderr] 
* Try:

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

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

[stderr] 
> Run with --scan to get full insights.

[stderr] 
* Get more help at https://help.gradle.org

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

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

See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings

5 actionable tasks: 5 executed

[stderr] 
BUILD FAILED in 2m 22s

Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions