Cordova for Android (Windows) Environment configuration, cordovaandroid
PS: Considerations
Some pitfalls are declared here:
1. After installing Eclipse, remember to set the encoding format to UTF-8.
Please move: http://www.blogjava.net/xiaomage234/archive/2014/05/13/413626.html (I also checked online ~~)
2. FQ is required for downloading Android SDK
Step: http://laod.cn/hosts/2016-google-hosts.html (add mappings according to the method in)
3. For all the downloaded files below, we recommend that you do not use Chinese characters for the directory, or Chinese for the directory.
1. Download and install JDK
: Http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
Cordova platform add android: add an Android Project
Cordova build android: Compile Android Projects
Figure:
Currently, I am used to using these two plug-ins. More plug-ins can be downloaded by myself.
VII. Signature package apk
1. Right-click Project, Export, and select Android"
After writing for most of the afternoon, I have finished writing it, mainly combining the previously compiled documents with synchronization operations, which is somewhat delayed.
Mac environment and a series of blogs, please move: http://www.cnblogs.com/doscanner/p/5630593.html