phonegap编译Android,Hybrid选型和PhoneGap开发环境搭建

创建项目

$ ionic start myApp tabs

这个步骤非常的耗费时间,网络啊网络

➜ Project ionic start bee-app tabs

Creating Ionic app in folder /Users/xxx/myApp based on tabs project

The directory /Users/xxx/myApp already exists.

Would you like to overwrite the directory with this new project?

(yes/no): yes

Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip

[=============================] 100% 0.0s

Downloading: https://github.com/driftyco/ionic-starter-tabs/archive/master.zip

[=============================] 100% 0.0s

Update config.xml

Initializing cordova project

Fetching plugin "org.apache.cordova.device" via plugin registry

Fetching plugin "org.apache.cordova.console" via plugin registry

Fetching plugin "com.ionic.keyboard" via plugin registry

Your Ionic project is ready to go! Some quick tips:

* cd into your project: $ cd myApp

* Setup this project to use Sass: ionic setup sass

* Develop in the browser with live reload: ionic serve

* Add a platform (ios or Android): ionic platform add ios [android]

Note: iOS development requires OS X currently

See the Android Platform Guide for full Android installation instructions:

https://cordova.apache.org/docs/en/edge/guide_platforms_android_index.md.html

* Build your app: ionic build

* Simulate your app: ionic emulate

* Run your app on a device: ionic run

* Package an app using Ionic package service: ionic package

For more help use ionic --help or visit the Ionic docs: http://ionicframework.com/docs

+---------------------------------------------------------+

+ New Ionic Updates for February 2015

+

+ The View App just landed. Preview your apps on any device

+ http://view.ionic.io

+

+ Add ngCordova to your project for easy device API access

+ bower install ngCordova

+

+ Generate splash screens and icons with ionic resource

+ http://ionicframework.com/blog/automating-icons-and-splash-screens/

+

+---------------------------------------------------------+

Create an ionic.io account to use the Ionic View app and other features?

(Y/n): Y

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值