首页 > 其他 > 详细

phonegap环境配置

时间:2014-08-09 00:13:56      阅读:372      评论:0      收藏:0      [点我收藏+]

用于自己备注,呵呵 写的比较简单

操作系统:win7

————————————————————————————————

1,安装JDK

2,下载ADT

3,下载ANT

4,安装node.JS

5,配置环境变量

ANDROID_HOME D:\adt-bundle-windows-x86_64-20131030\sdk

path 加入 D:\apache-ant-1.9.4-bin\bin;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools


开始CMD:

创建APP cordova create app

进入APP cd app

添加平台 cordova platforms add android

添加插件:

cordova plugin add org.apache.cordova.battery-status
cordova plugin add org.apache.cordova.camera
cordova plugin add org.apache.cordova.contacts
cordova plugin add org.apache.cordova.device
cordova plugin add org.apache.cordova.device-motion
cordova plugin add org.apache.cordova.device-orientation
cordova plugin add org.apache.cordova.dialogs
cordova plugin add org.apache.cordova.file
cordova plugin add org.apache.cordova.file-transfer
cordova plugin add org.apache.cordova.geolocation
cordova plugin add org.apache.cordova.globalization
cordova plugin add org.apache.cordova.inappbrowser
cordova plugin add org.apache.cordova.media
cordova plugin add org.apache.cordova.media-capture
cordova plugin add org.apache.cordova.network-information
cordova plugin add org.apache.cordova.splashscreen
cordova plugin add org.apache.cordova.vibration


phonegap环境配置,布布扣,bubuko.com

phonegap环境配置

原文:http://blog.csdn.net/seven1276/article/details/38447477

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!