Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Daniel Wigmore-Shepherd
1,308 PointsProblems installing windows 32bit Android sdk
I installed the Android sdk, unzipped the folder in the desktop. When I ran the initial_setup script i get a line saying "Invalid path" followed by 19 lines of "The system cannot find the path specified". After these lines comes "ERROR: SWT folder ' ' does not exist" and a line telling me to please set Android_SWT to the folder containing swt.jar.
I also can't run eclipse because it is apparently not compatible with my system, even though I downloaded the correct 32bit package. Any help would be really appreciated. Thanks
3 Answers

Khaled Beddakhe
13,960 Pointsdid you set java PATH system variable? http://java.com/en/download/help/path.xml

Daniel Wigmore-Shepherd
1,308 PointsHmmmm, the instructions dont seem to make sense. There is no 'edit' tab on the advanced properties window (I am one of the few people left on the planet who use Vista). I already have Eclipse, can I simply use that for Android programming? Or do I need extra stuff?

Khaled Beddakhe
13,960 Pointsyou can see the steps to fully set your java path with photos here .. http://www.ehow.com/how_5127784_set-java-path.html once you complete the steps and your eclipse should start normally.. all you need is to install Android Development Tools (ADT) http://developer.android.com/sdk/installing/installing-adt.html if you get confused you download ADT Bundle (a ready version of eclipse to directly work with android) http://developer.android.com/sdk/index.html I hope that you can fix your problem, and just android programming and have fun you will love it ;)
P.S: there is a better IDE than eclipse with faster emulator and better performance Android Studio and ready to use directly as well http://developer.android.com/sdk/installing/studio.html

Ben Jakuben
Treehouse TeacherIf you have an existing version of Eclipse that you want to use, you may want to follow the instructions in this Quick Tip video: http://blog.teamtreehouse.com/getting-started-with-android-development-treehouse-quick-tip
As for the error about the SWT folder...that usually has something to do with the file path. Eclipse on Windows is very picky about the characters it will allow in the file path. You might want to try moving the bundle and re-running initial_setup.bat in a simple directory like c:\temp or c:\android.
If you continue to have trouble, check out this other Forum post that talks about some alternatives: https://teamtreehouse.com/forum/android-lesson-cant-run-initialsetupbat
Donald Warwick
901 PointsDonald Warwick
901 PointsI am having the same problem....Not sure what to set the path as and the path I found has live components in it....so not sure if I should change it.