1、cordova create myapp
2、cordova plugin add org.apache.cordova.device
3、cordova platforms add android
4、cordova build