开始学习ionic时遇到的问题,遇到上诉问题,cd myapp ,进入你的项目中去
cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git,便成功了。
贴上原文地址http://forum.ionicframework.com/t/unable-to-add-plugins-perhaps-your-version-of-cordova-is-too-old/3807