Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70746

When i build the apk using ionic cordova build android its worked but i want to build the apk using grunt build command its not worked so please suggest me the solution

$
0
0

@sandeep1005 wrote:

ionic -v
5.4.5

cordova -v
9.0.0 (cordova-lib@9.0.1)

node -v
v12.13.0

npm -v
6.13.0

grunt-cli v1.2.0
grunt v1.0.4

platform versions
Installed platforms:
android 8.0.0
Available platforms:
browser ^6.0.0
electron ^1.0.0
ios ^5.0.0
osx ^5.0.0
windows ^7.0.0

D:\Test\App>grunt build:android

Running “build:android” (build) task

Running “clean:dist” (clean) task

8 paths cleaned.

Running “clean:server” (clean) task

0 paths cleaned.

Running “includeSource:dist” (includeSource) task
File “app/index.html” created.

Running “ngconstant:development” (ngconstant) task
Creating module config at app/scripts/configuration.js…OK

Running “wiredep:app” (wiredep) task

Running “concurrent:server” (concurrent) task

Running “copy:vendor” (copy) task

Done.

Execution Time (2019-11-11 11:39:45 UTC)
loading tasks 4ms ██████████████████ 36%
copy:vendor 7ms ██████████████████████████████ 64%
Total 11ms

Running “copy:styles” (copy) task
Copied 2 files

Done.

Execution Time (2019-11-11 11:39:45 UTC)
loading tasks 4ms ██████████ 20%
copy:styles 15ms ████████████████████████████████████ 75%
Total 20ms

Running “copy:fonts” (copy) task
Copied 4 files

Done.

Execution Time (2019-11-11 11:39:45 UTC)
loading tasks 5ms ██████████ 21%
copy:fonts 19ms ██████████████████████████████████████ 79%
Total 24ms

Running “autoprefixer:dist” (autoprefixer) task
Autoprefixer’s process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead
File .temp/styles/main.css created.
Autoprefixer’s process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead
File .temp/styles/style.css created.

Running “newer:copy:app” (newer) task

Running “copy:app” (copy) task
Created 208 directories, copied 1116 files

Running “newer-postrun:copy:app:1:D:\Test\App\node_modules\grunt-newer.cache” (newer-postrun) task

Running “newer:copy:tmp” (newer) task

Running “copy:tmp” (copy) task
Copied 2 files

Running “newer-postrun:copy:tmp:2:D:\Test\App\node_modules\grunt-newer.cache” (newer-postrun) task

Running “ionic:build:android” (ionic) task
[WARN] ionic build is for building web assets and takes no arguments. See ionic build --help.

   Ignoring argument android. Perhaps you meant ionic cordova build android?

ionic-v1.cmd build
[17:09:49] Cannot load gulp: ReferenceError: primordials is not defined
[17:09:49] Cannot load gulp: ReferenceError: primordials is not defined
[17:09:49] Cannot run sass task: missing in gulpfile.js
[17:09:49] Cannot load gulp: ReferenceError: primordials is not defined

Done.

Execution Time (2019-11-11 11:39:42 UTC)
clean:dist 340ms ████ 5%
wiredep:app 145ms ██ 2%
concurrent:server 2.3s ██████████████████████████ 32%
newer:copy:app 281ms ████ 4%
copy:app 2.9s █████████████████████████████████ 40%
ionic:build:android 1.1s █████████████ 15%
Total 7.2s

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70746

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>