1, with the command Ionic start myApp tabs new Project, in the last hint Ionic\cli.js error (Specific problem description forgot)
Install node-inspector
, use commands
cnpm install -g node-inspector
,如果你没有安装cnpm,先执行命令
npm install --registry=http://r.cnpmjs.org -g cnpm
Installationcnpm
2. When building the app using the Ionic build Android command, you are prompted to gradle the error that cannot be downloaded:
Locate the Gradlebuilder.js file in the Myapp\platforms\android\cordova\lib\builders directory, put var distributionurl = process.env[' CORDOVA_ Android_gradle_distribution_url '] | | ' Http\\://services.gradle.org/distributions/gradle-2.2.1-all.zip ';
Change to var Distributionurl = ' ... /gradle-2.2.1-all.zip ';
3, the environment to build, directly read the post
Http://www.cnblogs.com/rdst/p/4699083.html
http://blog.csdn.net/zapzqc/article/details/41802453
Ionic configuration Issues