Skip to content

Causes build errors with Expo's EAS Build #40

@danscan

Description

@danscan

Kudos on this awesome library. I'm so excited to see and support the work from Margelo – you all make an incredible team.


I just encountered a strange issue I thought I'd make you aware of:

react-native-bignumber is causing the following Android build error in EAS build:

No signature of method: build_3f07tkrdhml72rs2c7ujzo3ms.android() is applicable for argument types: (build_3f07tkrdhml72rs2c7ujzo3ms$_run_closure2) values: [build_3f07tkrdhml72rs2c7ujzo3ms$_run_closure2@55bc1bb5]

Reproduced with versions 0.1.5 and 0.1.3.

Relevant expanded build logs:

> Configure project :expo
Using expo modules
...
> Configure project :react-native-bignumber
BigNumber: node_modules/ found at: /home/expo/workingdir/build/node_modules
[stderr] FAILURE: Build failed with an exception.
[stderr] * Where:
[stderr] Build file '/home/expo/workingdir/build/node_modules/react-native-bignumber/android/build.gradle' line: 88
[stderr] * What went wrong:
[stderr] A problem occurred evaluating project ':react-native-bignumber'.
[stderr] > No signature of method: build_3f07tkrdhml72rs2c7ujzo3ms.android() is applicable for argument types: (build_3f07tkrdhml72rs2c7ujzo3ms$_run_closure2) values: [build_3f07tkrdhml72rs2c7ujzo3ms$_run_closure2@55bc1bb5]
[stderr] * Try:
[stderr] 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.
[stderr] * Get more help at https://help.gradle.org
[stderr] BUILD FAILED in 1m 9s
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
Error: Gradle build failed with unknown error. Please see logs for the "Run gradlew" phase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions