First, the environment:
Win7 32-bit
Second, the necessary software:
L Java JDK
:http://www.oracle.com/technetwork/java/javase/downloads/index.html
version used by author:1.6
L ANDROID-SDK
:http://dl.google.com/android/android-sdk_r23.0.2-windows.zip
version used by author:R23
L ANDROID-NDK
:http://dl.google.com/android/ndk/android-ndk32-r10-windows-x86.zip
version used by author:R10
L Eclipse
:http://www.eclipse.org/downloads/packages/
version used by the author: Indigo
L Python
:https://www.python.org/downloads/windows/
version used by author:2.7.9
L Cygwin
:https://cygwin.com/install.html
version used by author: forx86
L cocos2d-x-3.3
:http://cn.cocos2d-x.org/download
version used by author:3.3
L Visual Studio 2012
:Http://download.microsoft.com/download/b/0/f/b0f589ed-f1b7-478c-849a-02c8395d0995/vs2012_ult_chs.iso
version used by author:2012
Three, installation configuration:
Special points:
Living in Greater China may need to first include the following in the Hosts file to actually install the configuration
203.208.46.146 www.google.com
74.125.113.121 developer.android.com
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com
• Java JDK installation configuration
Installation: Basically is a one-way Next button, the installation of attention to the path, my path is: C:\Java\jdk1.6
Configuration:
1. New environment variable: Java_home value: C:\Java\jdk1.6
2, the new environment variable: CLASSPATH value is:.; %java_home%\lib; (Note: The dot indicates the current directory and cannot be omitted)
3. Add the following in front of the value of the system variable path:%java_home%\bin; (note: The semicolon here cannot be omitted) here, the JDK is installed.
4. Click Start, Run, enter: cmd command, enter in cmd window: java-version
The following interface appears, indicating that the installation was successful:
L ANDROID-SDK
Install: only need to extract to the directory just fine, my path is: C:\android-sdk-windows
configuration: Configure in the following eclipse
use: Double-click the SDK Manager.exe in the installation directory to download the SDK platform package, and choose to download the appropriate package according to the version of Android you need to develop.
L ANDROID-NDK
Install: only need to extract to the directory just fine, my path is: C:\android-ndk-r10
configuration: Configure in the following eclipse
L Eclipse Installation Configuration
Install: only need to extract to the directory just fine, my path is: C:\eclipse-indigo
Configuration:
1. ADT (Android development tool) installation configuration:
Turn on eclipse and go to "help", "Install New Software" in the menu
After entering the install interface add address: Http://dl-ssl.google.com/android/eclipse,
After expanding developer Tools, tick "Android DDMS" and "Android development tools" and then next to install and restart eclipse.
2. SDK (ANDROID-SDK) installation configuration
Enter "Window", "Preferences" in the menu
Select Android on the left and choose the path to the SDK location on the right, which is the directory that was placed before the ANDROID-SDK.
3. NDK (ANDROID-NDK) installation configuration
Go to the Menu "window", "Preferences" and then expand the left side of Android to select the following NDK.
On the right, select the path to the NDK location, which is the directory that was placed before the ANDROID-NDK.
L Python installation configuration
Installation:python installation using the default installation method, my path is: C:\Python27
configuration: for environment variable configuration, locate the path variable in the system variable, environment variable, Advanced tab, advanced system settings, properties, and so on my computer (right-click), and add an environment variable that points to Python in its value. The format is [python installation path]; For example I installed in C Drive My environment variable is added as C:\Python27;
L Cygwin installation configuration
Installation:Cygwin install by default installation method, my path is: C:\cygwin
configuration:Create a new folder in the Cygwin\home\ folder named after your login, locate the ". Bash_profile" file in the folder, open it with a text editor such as Notepad or editplus, and add it at the end: (\ C Android-ndk-r10 is the path to install the NDK) ndk_root=/cygdrive/c/android-ndk-r10
Export Ndk_root
Then save the shutdown.
use: double-click the Cygwin.bat in the installation directory (enter the Cygwin directory on the command line and execute Cygwin.bat)
L cocos2d-x-3.3 Installation Configuration
Install: only need to extract to the directory just fine, my path is: C:\cocos2d-x-3.3
Configuration: None
use: Follow-up detailed introduction
L Visual Studio 2012 installation Configuration
Installation: This is nothing to say.
Configuration: None
So far, the software developed by COCOS3DX 3.x and the environment have been prepared, and there will be some other auxiliary small software such as texturepacker, particles, etc. in the specific use of the introduction.
Author Exchange qq:2303452599
Email: [Email protected]
COCOS2DX.3X Introduction Trilogy-Software Environment configuration (i)