![]() I’ve decided to get my feet wet and get to know the basics of developing for android. The android sdk can be installed on windows, linux as well as mac osx. The installation instructions on the android developer are perfect for windows, mac and ubuntu (and its derivatives). Its not plain sailing for others, a few hacks are required here and there but it all works eventually. These instructions are tested on sabayon 6 kde x86_64 but should work with other editions too.įirst we need to install the basic packages these are apache-ant which is a build tool for java, the android sdk update manager and eclipse. We need jdk too but I have openjdk installed out of the box so I wont bother with it, if we run into trouble with this then we can always switch jdk’s. All the required packages can be installed with one single command, but be warned that it will download quite a volume so be sure to have a fast internet connection. Lovelock ~ # equo install ant dev-util/android-sdk-update-manager eclipse-sdk Run the following command as root or use sudo if you prefer: lovelock ~ # su. bash_profile # Fixups for androidĮxport PATH=$PATH:/opt/android-sdk-update-manager/tools:Įxport ANDROID_SWT=/usr/share/swt-3.5/lib Now wait a while for it to complete, after it is done then we need to fix our path to include the location where android sdk update manager is installed, sabayon installs it in /opt. Now source the file to update the path without the need to logout and then back in and then run android. ![]() ![]() If you can’t find android in the path then you haven’t updated it correctly review the previous step carefully and then proceed. Now you can choose the packages that you want downloaded, typically you’ll need any one platform depending on what device you have, otherwise I’d recommend installing the latest version for phones as of now its 2.3.3. Click install, again this will take some time downloading, after this you can create your emulator too.Īll this was smooth sailing but getting things to work with eclipse seems to have its hiccups here’s what we need to do in order to get integrate android and eclipse. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |