【发布时间】:2019-11-30 14:33:38
【问题描述】:
> Task :app:bundleReleaseJsAndAssets FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:bundleReleaseJsAndAssets'.
> Process 'command 'npx.cmd'' finished with non-zero exit value 1
* Try:
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.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 33s
1 actionable task: 1 executed
【问题讨论】:
-
我建议您遵循错误消息中给出的建议。尝试使用 --debug 或 --stacktrace 重新运行您的构建,以了解问题所在,然后尝试修复它。
-
尝试 cd android && ./gradlew clean --info 然后从 Android Studio 生成 APK
标签: android reactjs react-native apk