To build Android SDK please read
Java SDK
page.