Cordova Using official documents
http://cordova.apache.org/docs/en/5.0.0/guide_cli_index.md.html#The%20Command-Line%20Interface/
Official Example:
NPM install-g phonegap– Global Installation PhoneGap
NPM install-g Cordova
Cordova Create Hello Com.example.hello helloworld-d
CD Hello
Cordova Platform Add Android
Cordova Platforms ls– View supported platforms
# Cordova Platform Remove BLACKBERRY10 Remove Platform statement
Cordova Build Android–cordova build compiles all platforms
Cordova emulate Android
After the project is built, you can import the project using Android Eclipse:
Error handling Change target version
When you have this hint, go to install SDK android-22. I android-22 here too new, I changed the target version:
Test\myapp\platforms\android\project.properties
target=android-21#这里变更目标版本android.library.reference.1=CordovaLib
Network exceptions
If you have this error:
A few more downloads, maybe a network problem.
Missing SDK
This error is due to Cordova using android.webkit.ClientCertRequest, which must be installed on Android SDK 21.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Android Development Series 6 installation Cordova