cordova build android --release Error
See original GitHub issueRun: 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:
- Created 4 years ago
- Comments:11 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hey @khudia, I’ve actually found the problem please follow this webpack release file :
https://github.com/caiobiodere/cordova-template-framework7-vue-webpack/blob/master/template_src/config/webpack.release.js
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.))