question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cordova build android --release Error

See original GitHub issue

Run: cordova build --release android

Error happened when webpack build: Error: Command failed: "/home/admin/app/node_modules/.bin/webpack" --env.release
/home/admin/app/node_modules/webpack-cli/bin/cli.js:74
				throw err;
				^

ReferenceError: path is not defined

Any idea?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
caiobioderecommented, Jun 8, 2019
2reactions
khudiacommented, Jun 7, 2019

I found how to fix it) (and allready published app by this way) Since google needs app bunddle and not apk to release your app, you need to create keystone for your app then load your app to android studio, then create app bunndle (release) with keystone created and upload app.abb to google console for review! Thats all.))

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error when running cordova build –release android
I can run ionic build android and deploy to an emulator without problem. I've tried searching for lintOptions and build.gradle but I can't...
Read more >
Error on cordova build android --release · Issue #2780 - GitHub
Hi all, any help will be appreciated, thx. Expected Behaviour Android build is ok Actual Behaviour Android build fails The build is ok...
Read more >
Getting error while doing 'cordova build android --release'
I am getting a weird error for the build command in android. error says. What went wrong: Failed to create component for 'dialog'...
Read more >
Android Platform Guide - Apache Cordova
Android Platform Guide. This guide shows how to set up your SDK environment to deploy Cordova apps for Android devices, and how to...
Read more >
Framework7 cordova build android --release error
Framework7 cordova build android --release error: unknown option `--release' ... I got this before. Reason was that I copy-pasted the command from ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found