Skip to content

Android build is failing with error java.lang.StackOverflowError (no error message) #1155

@YajanaRao

Description

@YajanaRao

What happened?

Created an example project by using the following commands:

yarn add react-native-test-app --dev yarn init-test-app 

Building the android app using yarn android is throwing following error:
image

I have not done any changes to configaration.

Version

1.6.17

What platforms are you seeing this issue on?

  • Android
  • iOS
  • macOS
  • Windows

System Information

System: OS: Linux 5.18 Pop!_OS 22.04 LTS CPU: (8) x64 Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz Memory: 153.68 MB / 15.47 GB Shell: 5.1.16 - /bin/bash Binaries: Node: 14.20.0 - /usr/bin/node Yarn: 1.22.19 - /usr/bin/yarn npm: 6.14.8 - ~/Projects/segmented-control/node_modules/.bin/npm Watchman: Not Found SDKs: Android SDK: Android NDK: 22.1.7171670 IDEs: Android Studio: AI-212.5712.43.2112.8609683 Languages: Java: 1.8.0_312 - /usr/bin/javac Python: Not Found npmPackages: @react-native-community/cli: Not Found react: 16.13.1 => 16.13.1 react-native: 0.63.4 => 0.63.4 npmGlobalPackages: *react-native*: Not Found 

Steps to Reproduce

yarn add react-native-test-app --dev
yarn init-test-app
cd example
yarn android

Code of Conduct

  • I agree to follow this project's Code of Conduct

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