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! While you're at it, check out some resources Treehouse students have shared here.

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

Android

Cannot setup Android Development

I use 32bit Windows OS and I created a folder in C:\android_dev_environment. After running initial_setup.bat, I've got the following error.

C:\android_dev_environment>REM Set t absolute;

C:\android_dev_environment>REM a re er.

C:\android_dev_environment>cd 1>t

C:\android_dev_environment>set /p sd

C:\android_dev_environment>del temp.

C:\android_dev_environment>set sdk_p indows

C:\android_dev_environment>set sdk_p -windows

C:\android_dev_environment>set sdk_p k-windows

C:\android_dev_environment>echo ôSet ôSetting Android SDK path in Eclipse

C:\android_dev_environment>echo com. _environment\android-sdk-windows 1> core.runtime.settings\com.android.i

C:\android_dev_environment>echo ôAnd ôAndroid SDK path set.ö

C:\android_dev_environment>REM Creat

C:\android_dev_environment>echo ôCre ôCreating a new AVD...ö

C:\android_dev_environment>echo no e avd -n Android41 -t 1 --force This version of C:\android_dev_envir compatible with the version of Windo tem information to see whether you n f the program, and then contact the Invalid path The system cannot find the path spec The system cannot find the path spec The system cannot find the path spec The system cannot find the path spec The system cannot find the path spec The system cannot find the path spec The system cannot find the path spec The system cannot find the path spec The system cannot find the path spec The system cannot find the path spec The system cannot find the path spec The system cannot find the path spec The system cannot find the path spec The system cannot find the path spec The system cannot find the path spec The system cannot find the path spec The system cannot find the path spec The system cannot find the path spec ERROR: SWT folder '' does not exist. Please set ANDROID_SWT to point to t rm.

C:\android_dev_environment>echo ôAVD ôAVD created.ö

C:\android_dev_environment>pause Press any key to continue . . .

Try to run eclipse.exe

My computer is 32-bit OS and I downloaded android_dev_environment_windows_32bit.zip. When I run the eclipse.exe I've got this error . C:\android_dev_environment\eclipse\eclipse.exe The version of this file is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need an x86(32-bit) or x64(64-bit) version of the program, and the contact the software publisher.

Thanks in advance

You download this one ? http://treehouse-code-samples.s3.amazonaws.com/android_dev_environment_windows_32bit.zip or other from the official site of android? If yes try this one.

4 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

As the others have mentioned, you might want to switch to the bundle provided by Google (the ADT, which stands for Android Developer Tools). I have answered a similar question here in the Forum, and you might find some additional help there.

Thank you so much

I think that there is not something to install with this one. You just extract, click eclipse.exe and you are good to go. Try this one too. http://developer.android.com/sdk/index.html

Thank you. I will.

Go ADT, right from the google site.

Thanks. I will.

Hey Ben , I've barely broken into the android videos but I did set up my system with AVD since I was using Eclipse for my Java course at school anyway. However, I saw the Android Studio presentation from I/O and thought it looked neat. I know it's still in beta and < 1.0 but what are your thoughts on it?

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Hey Patrick,

I'd highly encourage you to try it out if you feel comfortable with it! Android Studio is off to a great start and I think it will be excellent going forward. We will have to decide when the right time is to switch here on Treehouse (since it's still in beta), but if you have any trouble with Treehouse projects in Android Studio, just drop us a line in here and I or the other students can help you out.

Thanks for the input. Maybe I'll do one of the projects in each and then see which I like the best.