##Create project steps:
Build project
ionic start --v2 myApp tabs --skip-npm
Add platform plugin
ionic platform add/remove android/ios
Packaging
ionic build android/ios --release/debug //The default is debug
**tip**
: There are two versions of the package, debug version and release version, the former is debugged, The latter releases
##ionic configuration (ionic1.7.16), which can directly install version 2.0. The default built project is v1.0
-node installation, Configure system environment variables
Path: C: \ Program Files \ nodejs \ node_global \;
## NPM Config Set Prefix "C: \ Program Files \ Node_global"
npm config set cache "C:\Program Files\nodejs \node_cache"
npm config set registry=
## %JAVA_HOME% \ jre \ bin;
-Android SDK Installation
: D: \ Androidsdk
Path:
%Android_home%\ Platform-Tools;
%Android_home%\ Tools;
## »Apache Ant installation
to the official homepage download new version (currently Ant1.8.1) Ant The compressed package of apache-ant-1.8.1-bin.zip. Extract it to your hard drive, for example: C:\apache-ant-1.8.1.
New ANT_HOME variable: C:\apache-ant-1.10.1
PATH:
C:/apache-ant-1.8.1/bin
New CLASSPATH:
C :\apache-ant-1.10.1\lib
- npm install -g ionic@1.7.16 cordova@6.2.0
The above is the detailed content of Specific steps for ionic configuration and installation. For more information, please follow other related articles on the PHP Chinese website!