Skip to content

Instantly share code, notes, and snippets.

@crapthings
Created January 2, 2020 08:52
Show Gist options
  • Save crapthings/d1f4027723c13178da6cc79060c3d600 to your computer and use it in GitHub Desktop.
Save crapthings/d1f4027723c13178da6cc79060c3d600 to your computer and use it in GitHub Desktop.
=> Started your app.
=> App running at: http://localhost:3000/
=> Errors executing Cordova commands:
While running Cordova app for platform Android with options --buildConfig,/Users/monsterstep/dev/sandbox2020/mobileauth/.meteor/local/cordova-build/build.json,--device:
Error: Command failed: /Users/monsterstep/dev/sandbox2020/mobileauth/.meteor/local/cordova-build/platforms/android/cordova/run --buildConfig /Users/monsterstep/dev/sandbox2020/mobileauth/.meteor/local/cordova-build/build.json --device
/Users/monsterstep/dev/sandbox2020/mobileauth/.meteor/local/cordova-build/platforms/android/app/src/main/AndroidManifest.xml:73:9-91 Error:
Element meta-data#JPUSH_APPKEY at AndroidManifest.xml:73:9-91 duplicated with element declared at AndroidManifest.xml:15:9-91
/Users/monsterstep/dev/sandbox2020/mobileauth/.meteor/local/cordova-build/platforms/android/app/src/main/AndroidManifest.xml Error:
Validation failed, exiting
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed with multiple errors, see logs
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
{ Error: /Users/monsterstep/dev/sandbox2020/mobileauth/.meteor/local/cordova-build/platforms/android/gradlew: Command failed with exit code 1 Error output:
/Users/monsterstep/dev/sandbox2020/mobileauth/.meteor/local/cordova-build/platforms/android/app/src/main/AndroidManifest.xml:73:9-91 Error:
Element meta-data#JPUSH_APPKEY at AndroidManifest.xml:73:9-91 duplicated with element declared at AndroidManifest.xml:15:9-91
/Users/monsterstep/dev/sandbox2020/mobileauth/.meteor/local/cordova-build/platforms/android/app/src/main/AndroidManifest.xml Error:
Validation failed, exiting
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed with multiple errors, see logs
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
at ChildProcess.whenDone (/Users/monsterstep/dev/sandbox2020/mobileauth/.meteor/local/cordova-build/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
stderr: '/Users/monsterstep/dev/sandbox2020/mobileauth/.meteor/local/cordova-build/platforms/android/app/src/main/AndroidManifest.xml:73:9-91 Error:\n\tElement meta-data#JPUSH_APPKEY at AndroidManifest.xml:73:9-91 duplicated with
element declared at AndroidManifest.xml:15:9-91\n/Users/monsterstep/dev/sandbox2020/mobileauth/.meteor/local/cordova-build/platforms/android/app/src/main/AndroidManifest.xml Error:\n\tValidation failed, exiting\n\nFAILURE: Build
failed with an exception.\n\n* What went wrong:\nExecution failed for task \':app:processDebugManifest\'.\n> Manifest merger failed with multiple errors, see logs\n\n* Try:\nRun with --stacktrace option to get the stack trace. Run
with --info or --debug option to get more log output.\n\n* Get more help at https://help.gradle.org\n\nBUILD FAILED in 2s\n',
stdout: 'publishNonDefault is deprecated and has no effect anymore. All variants are now published.\nConfiguration \'compile\' in project \':app\' is deprecated. Use \'implementation\' instead.\nThe Task.leftShift(Closure) method has
been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.\n\tat
build_6vd4wz8o6kxy31edrcd3fnwc5.run(/Users/monsterstep/dev/sandbox2020/mobileauth/.meteor/local/cordova-build/platforms/android/app/build.gradle:150)\n:CordovaLib:preBuild UP-TO-DATE\n:CordovaLib:preDebugBuild
UP-TO-DATE\n:CordovaLib:compileDebugAidl\n:CordovaLib:compileDebugRenderscript\n:CordovaLib:checkDebugManifest\n:CordovaLib:generateDebugBuildConfig\n:CordovaLib:prepareLintJar\n:CordovaLib:generateDebugResValues\n:CordovaLib:generateDebugResources\n:CordovaLib:packageDebugResources\n:CordovaLib:platformAttrExtractor\n:CordovaLib:processDebugManifest\n:CordovaLib:javaPreCompileDebug\n:CordovaLib:processDebugJavaRes
NO-SOURCE\n:app:cdvCreateAssetManifest\n:app:preBuild\n:app:preDebugBuild\n:app:compileDebugAidl\n:CordovaLib:packageDebugRenderscript
NO-SOURCE\n:app:compileDebugRenderscript\n:app:checkDebugManifest\n:app:generateDebugBuildConfig\n:app:prepareLintJar\n:app:generateDebugResValues\n:app:generateDebugResources\n:app:mergeDebugResources\n:app:createDebugCompatibleScreenManifests\n:app:processDebugManifest\n\nSee
http://g.co/androidstudio/manifest-merger for more information about the manifest merger.\n\n:app:processDebugManifest FAILED\n21 actionable tasks: 21 executed\n',
code: 1 } 'Error: /Users/monsterstep/dev/sandbox2020/mobileauth/.meteor/local/cordova-build/platforms/android/gradlew: Command failed with exit code 1 Error
output:\n/Users/monsterstep/dev/sandbox2020/mobileauth/.meteor/local/cordova-build/platforms/android/app/src/main/AndroidManifest.xml:73:9-91 Error:\n\tElement meta-data#JPUSH_APPKEY at AndroidManifest.xml:73:9-91 duplicated with
element declared at AndroidManifest.xml:15:9-91\n/Users/monsterstep/dev/sandbox2020/mobileauth/.meteor/local/cordova-build/platforms/android/app/src/main/AndroidManifest.xml Error:\n\tValidation failed, exiting\n\nFAILURE: Build
failed with an exception.\n\n* What went wrong:\nExecution failed for task \':app:processDebugManifest\'.\n> Manifest merger failed with multiple errors, see logs\n\n* Try:\nRun with --stacktrace option to get the stack trace. Run
with --info or --debug option to get more log output.\n\n* Get more help at https://help.gradle.org\n\nBUILD FAILED in 2s\n at ChildProcess.whenDone
(/Users/monsterstep/dev/sandbox2020/mobileauth/.meteor/local/cordova-build/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)\n at emitTwo (events.js:126:13)\n at ChildProcess.emit
(events.js:214:7)\n at maybeClose (internal/child_process.js:915:16)\n at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)'
at ChildProcess.exitCallback (/Users/monsterstep/.meteor/packages/meteor-tool/.1.8.3.msgzoi.u1o0b++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/utils/tools/utils/processes.ts:174:23)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
=> awaited here:
at Function.Promise.await
(/Users/monsterstep/.meteor/packages/static-html/.1.2.2.1rtidrc.wnmd++os+web.browser+web.cordova/plugin.compileStaticHtmlBatch.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:35:12)
at CordovaProject.runCommands (/tools/cordova/project.js:845:14)
at Promise.asyncApply (/tools/cordova/project.js:312:10)
at /Users/monsterstep/.meteor/packages/static-html/.1.2.2.1rtidrc.wnmd++os+web.browser+web.cordova/plugin.compileStaticHtmlBatch.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:32:39
/Users/monsterstep/.meteor/packages/static-html/.1.2.2.1rtidrc.wnmd++os+web.browser+web.cordova/plugin.compileStaticHtmlBatch.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:190
throw error;
^
undefined
=> awaited here:
at Function.Promise.await (/Users/monsterstep/.meteor/packages/static-html/.1.2.2.1rtidrc.wnmd++os+web.browser+web.cordova/plugin.compileStaticHtmlBatch.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:35:12)
at Promise.asyncApply (/tools/cordova/run-targets.js:111:5)
at /Users/monsterstep/.meteor/packages/static-html/.1.2.2.1rtidrc.wnmd++os+web.browser+web.cordova/plugin.compileStaticHtmlBatch.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:32:39
=> awaited here:
at Function.Promise.await (/Users/monsterstep/.meteor/packages/static-html/.1.2.2.1rtidrc.wnmd++os+web.browser+web.cordova/plugin.compileStaticHtmlBatch.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:35:12)
at buildmessage.capture (/tools/cordova/runner.js:98:9)
at Object.capture (/tools/utils/buildmessage.js:283:5)
at CordovaRunner.startRunTargets (/tools/cordova/runner.js:97:37)
at AppRunner._runOnce (/tools/runners/run-app.js:760:21)
at AppRunner._fiber (/tools/runners/run-app.js:929:28)
at /tools/runners/run-app.js:401:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment