README_WINDOWS.txt
1[RM 20080623]
2
31- To build the Eclipse plugin:
4Under Linux:
5$ cd your-device-directory
6$ tools/eclipse/scripts/build_server.sh destination-directory
7
8This will create an "android-eclipse.zip" in the selected destination directory.
9Then 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
122- To build a Windows SDK, you need two steps:
13a- First you need to create a Linux SDK:
14
15Under Linux:
16$ cd your-device-directory
17$ make sdk
18Note: if you get an error when building the javadoc, make sure you use a Java SDK 1.5
19Note: if you get an error when building layoutlib, make sure you use a Java SDK 1.5.0-b13.
20
21b- Once you have a Linux SDK, you can create a Windows SDK:
22
23You 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
29Then under Cygwin:
30$ cd your-device-directory
31$ tools/buildbot/_make_windows_sdk.sh path-to-the-linux-sdk.zip destination-directory
32
33