To build the Android source files, you will need to use Linux or Mac OS. Building under Windows is not currently supported.
The Android build is routinely tested in house on recent versions of Ubuntu (10.04 and later), but most distributions should have the required build tools available. Reports of successes or failures on other distributions are welcome.
In general you will need:
The Sun JDK is no longer in Ubuntu's main package repository. In order to download it, you need to add the appropriate repository and indicate to the system which JDK should be used.
Java 6: for Gingerbread and newer
Java 5: for Froyo and older
To set up your development environment, install the following required packages:
You might also want Valgrind, a tool that will help you find memory leaks, stack corruption, array bounds overflows, etc.
To build the Android files in a Mac OS environment, you need an Intel/x86 machine running MacOS 10.4 (Tiger), 10.5 (Leopard), or 10.6 (Snow Leopard). The Android build system and tools do not support the obsolete PowerPC architecture.
Android must be built on a case-sensitive file system because the sources contain files that differ only in case. We recommend that you build Android on a partition that has been formatted with the journaled file system HFS+. HFS+ is required to successfully build Mac OS applications such as the Android Emulator for OS X.
If you want to avoid partitioning/formatting your hard drive, you can use a case-sensitive disk image instead. To create the image, launch Disk Utility and select "New Image". A size of 8 GB is sufficient, or more if you prefer. Be sure to select "case sensitive, journaled" as the volume format.
This will create a .dmg file which, once mounted, acts as a drive with the required formatting for Android development. For a disk image named "android.dmg" stored in your home directory, you can add the following to your ~/.bash_profile to mount the image when you execute "mountAndroid":
To set up your Mac OS development environment, follow these steps:
Edit /opt/local/etc/macports/sources.conf and a line that says
above the rsync line. Then create this directory:--
http://linkedin.com/in/tellibitz
You received this message because you are subscribed to the Google
Groups "android-chennai" group.
To post to this group, send email to android...@googlegroups.com
To unsubscribe from this group, send email to
android-chenn...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-chennai?hl=en