Gradle assembleRelease
Starting a Gradle Daemon (subsequent builds will be faster -)
Task: mzbanner: processReleaseManifest
StudioProjects/duojiaRnAndroid/mzbanner/SRC/main/AndroidManifest. XML: "Warning - raise:
Application @ android: allowBackup was tagged at AndroidManifest. XML: 6 to replace other declarations but no other declaration present
Task: app: bundleReleaseJsAndAssets FAILED
Internal/modules/CJS/loader. Js: 613
throw err;
^
Error: always find module '/StudioProjects/node_modules/react - native/cli. Js'
Ats Function. The Module. _resolveFilename (internal/modules/CJS/loader. Js: 610:15)
Ats Function. The Module. _load (internal/modules/CJS/loader. Js: 526:27)
Ats Function. The Module. RunMain (internal/modules/CJS/loader. Js: 824:10)
An internal/main/run_main_module. Js: while
FAILURE: the Build failed with an exception.
* What went wrong:
Execution failed for task ': app: bundleReleaseJsAndAssets'.
The Process 'command' node 'finished with non - zero exit value 1
* Try:
Run with -- stacktrace option to get the stack trace. Run with -- the info or -- debug option to get more the log output. The Run with -- scan to get full insights.
* Get more help at https://help.gradle.org
The BUILD FAILED in 41 s
24 the actionable tasks: 24 executed
Based on the above position is not right but have to modify the configuration files do not know the specific to the configuration file
CodePudding user response:
Rn depend on not installed, generally in the project root directory, namely StudioProjects directory performs NPM install or yarnCodePudding user response: