Guangzhou Huadu Forum plans to launch local service o2o applications. Rapid development of mobile apps and phonegap
My little station, http://www.w30.cn/
If you have any questions, you can leave a message in the group. If you can, contribute an ip Address :)
Phonegap Group Co., http://www.w30.cn/go/w30.
If you have any questions, join our QQ group: 64674997.
The following is my installation process
To build an environment, first download some installation packages:
(Before downloading, check whether the computer is 32-bit or 64-bit. Select the installation package)
Java environment JDK: http://www.oracle.com/technetwork/java/javase/downloads/index.html
I installed a 64-bit version. Download the version required by my system environment. The version is installed by default after the download. After the download is complete, Enter cmd and enter java to display the java version information, indicating that the installation is successful.
Start-Enter cmd-enter javac to display the javac version information, indicating that the installation is successful.
Javac cannot run
System variable-> New-> variable name: JAVA_HOME variable value: C: \ Program Files \ Java \ jdk1.6.0
System variable-> New-> variable name: CLASSPATH variable value:.; % JAVA_HOME % \ lib \ tools. jar
System variable-> edit-> variable name: Path is added at the beginning of the variable value: % JAVA_HOME % \ bin; % JAVA_HOME % \ jre \ bin
Start-Enter cmd-enter ant to display the javac version information, indicating that the installation is successful.
Install
1. Download and install ADT. Http://developer.android.com/sdk/index.html
2, Android compressed package: adt-bundle-windows-x86_64.
After decompression, enter the eclipsedirectory and run eclipse.exe.
1) Update the Android package first: select Window --------> Android SDK Manager
Select All, and click Install packages to add all packages.
2) configure the AVD Environment
There are two ways to configure the environment:
1. Use the interface to configure and enter the mode:
After opening, click New.
Entering http://nodejs.org/
Download node. js
System variable-> edit-> variable name: Path is added at the beginning of the variable value:
D: \ java \ nodejs \ note that java is your installation directory
Install phonegap3.4 and open cmd> enter npm install-g cordova
After successful installation
Cordova create hello com. example. hello "HelloWorld"
Cd hello
Cordova platform add android
Cordova build
Use eclipse to open and edit a project
File> New> Project> Android Project from Existing Code ADT
Install and delete a plug-in
Cordova plugin add org. apache. cordova. device plugin installation
Cordova plugin list plug-in list
Cordova plugin remove org. apache. cordova. device Delete plug-in
If you have any questions, join our QQ group: 64674997.