By referring to this: http://source.android.com/source/initializing.html (This guide can also be used to set up your build environment)
To start off, reading the guides by Android Open Source Project will be better as they provide a general idea of what to do: http://source.android.com/index.html
For Gingerbread (2.3.x) and newer versions, including the master branch, a 64-bit environment is required. Older versions can be compiled on 32-bit systems.
To start off, reading the guides by Android Open Source Project will be better as they provide a general idea of what to do: http://source.android.com/index.html
Last edited: