/*****************************************************************************
Work needs, reconfigure the ANDROID+NDK development environment, record.
System environment: Windows 7 64-bit
Creation Time: 2014-10-17
Personal essays, retain ownership. Reprint please specify source and author Erwin
*****************************************************************************/
Download three files (1): JDK Eclipse and NDK
Figure 1
Above three files: Adt-bundle-windows-x86_64-20140702.rar contains Eclipse and Sdk,google officially packaged, free-to-install version.
Android-ndk-r10c-windows-x86_64.exe is the NDK, self-extracting file.
Jdk-8u25-windows-x64.exe is a Java JDK.
First, install the JDK
Create two new environment variables:
Jdk_home=c:\java\jdk
classpath=%java_home%lib\;
Add to an existing PATH environment variable .; %java_home%\bin;
Detailed Setup method
Second, install Eclipse for Android:
1. Unzip the adt-bundle-windows-x86_64-20140702 (corresponding to the specific version number).
2. Clicking Android-ndk-r10c-windows-x86_64.exe (corresponding to the specific version number) Will Self-generate android-ndk-r10c this directory.
1, 22 steps completed after 2 is shown
Figure 2
3. Put the above two files in their new directory (PS: Step 3 can be slightly, personal habits), I put in the C:\Android directory.
4. Open c:\android\adt-bundle-windows-x86_64-20140702\eclipse.exe,3
Figure 3
Choose the Eclipse working directory to your liking.
5. The ADT plugin must be installed before the NDK can be added, click menu Options Help >install New software
Add
HTTPS://dl-ssl.google.com/android/eclipse/
Ok
Next
...
Finish
Google Website Reference Add method, 4
Figure 4
6. After restarting Eclipse,Windows>Preferences>Android>ndk, select Ndk Path, click OK , 5
Figure 5
Run successfully::::
Reference Links:
Google Official ADT Installation method
Android,android NDK Development Environment Construction (for reference only)