This article transferred from: http://www.cfanz.cn/index.php?c=article&a=read&id=65289
Recently changed a new computer, installed a Win7 64-bit system, install a variety of development environment, also installed the Android development environment, with the installation of XP is basically consistent, record the simple steps and possible problems, for posterity reference.
1.jdk
: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
Download:
Windows x64 |
90.42 MB |
Jdk-7u17-windows-x64.exe |
Installation:
Use the default installation directory (C:\Program Files\java), all the way next to the last
To configure environment variables:
My Computer--Properties--Advanced system settings--advanced--environment variables
Add after path:; C:\Program Files\java\jdk1.7.0_15\bin; C:\Program Files\java\jdk1.7.0_15\jre\bin
New Classpath, edit:,; C:\Program Files\java\jdk1.7.0_15\bin; C:\Program Files\java\jdk1.7.0_15\lib\tools.jar
Above, if the installation directory is different, you need to make corresponding changes
Detection:
After installation at the end of the configuration, run--cmd--javac, if you see: Usage: Javac ... That kind of text appears, OK, continue to the next step
If it is not successful, check the environment variable configuration
2.Android SDK and Eclipse
: http://developer.android.com/sdk/index.html
Download:
Click the button Download the SDK ADT Bundle for Windows, then tick I have ..., select 64bit, click Download. Button
Installation: Direct decompression, including the Eclipse development environment and the latest Android SDK
To configure environment variables:
Add: Platform-tools path after path, for example: E:\Android\adt-bundle-windows-x86_64-20130219\sdk\platform-tools
If you need to upgrade or install another version of the SDK, you can run the SDK Manager.exe
May encounter a flash of the situation, this time, you can find sdk\tools inside the Android.bat, run, you can see the corresponding interface, select the need to install
OK, basically here, even if the development environment is configured, open Eclipse to start developing Android programs.