The Android Open Source Project | 55a2c71 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 1 | [RM 20080623] |
| 2 | |
| 3 | 1- To build the Eclipse plugin: |
| 4 | Under Linux: |
| 5 | $ cd your-device-directory |
| 6 | $ tools/eclipse/scripts/build_server.sh destination-directory |
| 7 | |
| 8 | This will create an "android-eclipse.zip" in the selected destination directory. |
| 9 | Then in Eclipse, you can use Help > Software Updates > Find and Install > Search for new Features > Next > New Archived Site > select the new android-eclipse.zip. Then with the new archive checked, click Finish/Next. |
| 10 | |
| 11 | |
| 12 | 2- To build a Windows SDK, you need two steps: |
| 13 | a- First you need to create a Linux SDK: |
| 14 | |
| 15 | Under Linux: |
| 16 | $ cd your-device-directory |
| 17 | $ make sdk |
| 18 | Note: if you get an error when building the javadoc, make sure you use a Java SDK 1.5 |
| 19 | Note: if you get an error when building layoutlib, make sure you use a Java SDK 1.5.0-b13. |
| 20 | |
| 21 | b- Once you have a Linux SDK, you can create a Windows SDK: |
| 22 | |
| 23 | You need a Windows machine with XP or Vista and Cygwin. |
| 24 | - Installer at http://sources.redhat.com/cygwin/ |
| 25 | - Set Default Text File Type to DOS/text, not Unix/binary. |
| 26 | - Select packages autoconf, gcc, g++, bison, python, zip, unzip, mingw-zlib |
| 27 | - Suggested extra packages: emacs, wget, openssh, rsync |
| 28 | |
| 29 | Then under Cygwin: |
| 30 | $ cd your-device-directory |
| 31 | $ tools/buildbot/_make_windows_sdk.sh path-to-the-linux-sdk.zip destination-directory |
| 32 | |