This shows you the differences between the selected revision and the current version of the page.
| android:solaris 2009/10/13 01:44 | android:solaris 2009/10/13 02:28 current | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Working with Android on Solaris ====== | ====== Working with Android on Solaris ====== | ||
| - | Android was not designed to work on Solaris/SunOS. However, the Linux distribution of Android can be used to create a workable environment for Android. Both the emulator and usb compatibility are not currently supported, but the android.jar tool used to create and compile projects can be configured to run properly and create .apk files from source. Compatibility with the eclipse ADT plugin has not currently been tested but is unlikely. | + | Android was not designed to work on Solaris/SunOS. However, the Linux distribution of Android can be used to create a workable environment for Android. Both the emulator and the adb shell (including usb compatibility) are not currently supported. However, the android.jar tool used to create and compile projects can be configured to run properly and create .apk files from source. Compatibility with the eclipse ADT plugin has not currently been tested but is unlikely. |
| + | - Download and unzip the Linux distribution of Android | ||
| + | - Set the $PATH to include the android /tools directory | ||
| + | - Typing "android" at this point results in a message telling you to specify the location of ANDROID_SWT | ||
| + | - Download the eclipse SWT package (eclipse not necessary) if needed for your particular architecture (x86/SPARC). It is available [[http://download.eclipse.org/eclipse/downloads/drops/R-3.5.1-200909170800/index.php#swt|here]] under SWT Binary and Source. | ||
| + | - If Solaris is all you use the current system with, edit .bashrc to include <code>export ANDROID_SWT="$HOME/path/to/swtfolder"</code> where the path to the folder containing swt.jar is specified. | ||
| + | - If you work with other systems than Solaris using this bash shell, instead of modifying .bashrc create a script to do the same thing. You will need to run it once whenever you log in before you can use android. | ||
| + | - If you modified the .bashrc file, type "bash" to activate/reload the bash shell. If bash is not the default shell, you will need to type this each time you open a terminal that you want to use with android. | ||
| + | Android should now be configured to create projects (and avds, although they are currently useless on Solaris). To compile, Ant (and java) can be installed on the system if they are not already. Use of Android and Ant is the same as on other systems. | ||