Today i'll show how intall the Android SDK on Eclipse for Windows 7 and Ubuntu.
The first thing is to download the Eclipse for your operational system.
Go to http://www.eclipse.org/downloads/ and choose the right link.
Windows:
Ubuntu:
Unzip the Eclipse file and put in some place you like.
After this download the Android SDK at http://developer.android.com/sdk/index.html
For windows download the zip file, not the windows installer (i'll explain below)
For Ubuntu download the tar.gz.
Now came an important step
Unzip the SDK to a folder without any blank spaces. Windows intaller will put in "C:\program files\Android".
The ADT (Android Development Plugin) for eclipse have a bug. It can't start the emulator if the SDK is in a folder with spaces.
Done so, open the eclipse and go in Help>Install new software.Click in Add, and put a name as Android or anything. In Location put https://dl-ssl.google.com/android/eclipse/
Check teh box in Development Tools, Next and Finish.
Now you just have to install the packages for what versions of Android you want develop.
I downloaded all.
Check accept all and install.
Go take some coffees
Afer a lot of instalation hours you are ready to program for Android :)
I next post i'll show how to set the first android project an test it on emulator and phone.
No comments:
Post a Comment