When I run eas build --platform android, I get the following error which I am unable to resolve.
I’ve been struggling for 3 days.
・SDK Version:48
・Platforms(Android/iOS/web/all):Android
・Error message
Build failed: Gradle build failed with unknown error. See logs for the “Run gradlew” phase for more information.
・Error log
[stderr]
FAILURE: Build completed with 2 failures.
[stderr]
1: Task failed with an exception.
[stderr]
-----------
[stderr]
* What went wrong:
[stderr]
Execution failed for task ':app:createBundleReleaseJsAndAssets'.
[stderr]
> Process 'command 'node'' finished with non-zero exit value 1
[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]
==============================================================================
[stderr]
2: Task failed with an exception.
[stderr]
-----------
[stderr]
* What went wrong:
[stderr]
java.lang.StackOverflowError (no error message)
[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]
==============================================================================
[stderr]
* Get more help at https://help.gradle.org
[stderr]
BUILD FAILED in 4m 51s
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.