Is there any difference between Cordova Build Android and Cordova Prepare Android Commands ? Reference is added here
cordova prepare command Transforms config. xml metadata to platform-specific manifest files, copies icons & splashscreens, copies plugin files for specified platforms so that the project is ready to build with each native SDK.
1. ionic prepare copies all files from the www folder into the target platform's www folder. 2. ionic build also does this, but also builds the app's source code so that it can be run on a simulator/emulator or a device.
To develop Cordova applications with MobileFirst features, you must have the Apache Cordova command-line interface installed. You must have version 6.1. 1. You might want to use other development tools that support Apache Cordova as part of your development environment.
Prepare copies your www assets and any plugins into the appropriate platform folder. Build actually then compiles this into the binary for that platform.
You would use prepare if you planned on doing a build with the platform's tools (Eclipse, XCode, etc) and maybe want to modify something first.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With