#在线安装
cordova create chankoujie com.example.chankoujie ChanKouJie
cordova plugin add cordova-plugin-device
cordova plugin add cordova-plugin-camera
cordova plugin add cordova-plugin-file-transfer
cordova plugin add cordova-plugin-splashscreen
cordova plugin add cordova-plugin-dialogs
cordova plugin add cordova-plugin-network-information
cordova plugin add cordova-plugin-themeablebrowser
cordova plugin add https://github.com/Telerik-Verified-Plugins/SocialSharing
cordova plugin add https://github.com/moderna/cordova-plugin-cache.git
cordova plugin add https://github.com/DoubleSpout/phonegap_baidu_sdk_location.git
#离线安装
#安装web-cache 插件
mkdir cordova_plugins
cd cordova_plugins\
git clone https://github.com/moderna/cordova-plugin-cache.git
cd ..\chankoujie
cordova plugin add D:\github\cordova_apps\cordova_plugins\cordova-plugin-cache
#安装百度定插件
cd cordova_plugins\
git clone https://github.com/DoubleSpout/phonegap_baidu_sdk_location.git
cd ..\chankoujie
cordova plugin add D:\github\cordova_apps\cordova_plugins\phonegap_baidu_sdk_location