我尝试使用 cmd“gradlew assembleRelease --stacktrace”生成 apk 但它失败了,我总是收到相同的错误消息:
> Task :app:bundleReleaseJsAndAssets
The filename, directory name, or volume label syntax is incorrect.
warning: the transform cache was reset.
Loading dependency graph, done.
info Writing bundle output to:, C:\Users\userDirectory\WebstormProjects\project\android\app\build\generated\assets\react\release\index.android.bundle
info Done writing bundle output
info Copying 309 asset files
info Done copying assets
> Task :app:bundleReleaseJsAndAssets FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:bundleReleaseJsAndAssets'.
> Process 'command 'cmd'' finished with non-zero exit value 1
* Try: …Run Code Online (Sandbox Code Playgroud)