I have a successful android build. I ran the following command to add the platform for android.
ionic cordova platform add android
I wrongly assumed when running the ionic package build command with the android option a sub folder under platforms would be created.
My understanding is a limited. If I run the command > ionic package build
and then run > ionic upload. Will both versions be able in Ionic View?
Thanks in advance for your help
Wed Jul 26 10:40: $|-bash|~/Documents/Udemy/IonicAngular/Section Code (Finished) >> ionic cordova platform add android
? The plugin @ionic/cli-plugin-cordova is not installed. Would you lik
e to install it and continue? Yes
npm install --save-dev --save-exact @ionic/cli-plugin-cordova@latest
Running command - done!
cordova platform add android --save
Running command - done!
Using cordova-fetch for cordova-android@~6.2.2
Adding android project…
Creating Cordova project for the Android platform:
Android target: android-25
Subproject Path: CordovaLib
Android project created with email@example.com
Installing “cordova-plugin-console” for android
Installing “cordova-plugin-device” for android
Installing “cordova-plugin-splashscreen” for android
Installing “cordova-plugin-statusbar” for android
Installing “cordova-plugin-whitelist” for android
This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.
Installing “ionic-plugin-deploy” for android
Installing “ionic-plugin-keyboard” for android
–save flag or autosave detected
Saving android@~6.2.3 into config.xml file …
Copying default image resources into ./resources/android - done!
Wed Jul 26 10:59: $|-bash|~/Documents/Udemy/IonicAngular/Section Code (Finished) >> ionic package build
? What platform would you like to target: android
Running app-scripts build:
[11:06:11] build dev started …
[11:06:12] clean started …
[11:06:12] clean finished in 10 ms
[11:06:12] copy started …
[11:06:12] transpile started …
[11:06:31] transpile finished in 19.34 s
[11:06:31] webpack started …
[11:06:36] copy finished in 23.96 s
[11:06:46] webpack finished in 14.91 s
[11:06:46] sass started …
[11:06:54] sass finished in 7.68 s
[11:06:54] build dev finished in 42.75 s
Requesting snapshot upload - done!
Uploading snapshot - done!
[OK] Uploaded snapshot 97dbc20e-323f-45f4-bebd-cebe41d0036f!
Requesting project upload - done!
Uploading project - done!
Queuing build - done!
[OK] Build 3 has been submitted!
Wed Jul 26 11:07: $|-bash|~/Documents/Udemy/IonicAngular/Section Code (Finished) >> ionic package list
Retrieving package builds - done!
id | status | platform | profile | mode | started | finished
3 | SUCCESS | Android | | debug | 2017-07-26T10:07:41.533Z | 2017-07-26T10:07:56.392Z
2 | FAILED | Android | | debug | 2017-07-26T05:36:56.376Z |
1 | FAILED | Android | | debug | 2017-07-25T21:19:11.910Z |
[OK] Showing 3 of your latest builds.
Wed Jul 26 11:08: $|-bash|~/Documents/Udemy/IonicAngular/Section Code (Finished) >>