ikmzkro / React-Native-Issues

⚠️React Native Issues⚠️
0 stars 0 forks source link

Run gradlew build fail :app:createBundleReleaseJsAndAssets FAILED #37

Open vicgit09 opened 1 year ago

vicgit09 commented 1 year ago

eas build --platform android --profile preview

Task :app:createBundleReleaseJsAndAssets FAILED

Error persists with new the react-ntive version - 0.72.3

Task :expo-updates-interface:prepareReleaseArtProfile Task :expo-updates-interface:processReleaseJavaRes NO-SOURCE Task :expo-updates-interface:mergeReleaseJavaResource Task :expo-updates-interface:syncReleaseLibJars Task :expo-updates-interface:writeReleaseAarMetadata Task :expo-updates-interface:bundleReleaseLocalLintAar Task :app:buildCodegenCLI SKIPPED Task :app:generateCodegenSchemaFromJavaScript SKIPPED Task :app:generateCodegenArtifactsFromSchema SKIPPED Task :app:generatePackageList Task :app:preBuild Task :app:preReleaseBuild Task :app:compileReleaseAidl NO-SOURCE Task :app:compileReleaseRenderscript NO-SOURCE Task :app:generateReleaseBuildConfig Task :app:javaPreCompileRelease Task :app:createBundleReleaseJsAndAssets FAILED

[stderr]

Unknown or unexpected option: --platform

Task :expo-av:buildCMakeRelWithDebInfo[x86_64]

w: Detected multiple Kotlin daemon sessions at build/kotlin/sessions Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.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/8.0.1/userguide/command_line_interface.html#sec:command_line_warnings

1065 actionable tasks: 1065 executed

[stderr]

FAILURE: Build failed with an exception.

[stderr]

[stderr]

Execution failed for task ':app:createBundleReleaseJsAndAssets'.

[stderr]

Process 'command 'node'' finished with non-zero exit value 1

[stderr]

[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]

BUILD FAILED in 7m 5s

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