Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android

Cannot download Android Development Bundle - 32-bit Windows 7

When I try to install the Android Development Environment on my 32-bit Windows 7 laptop, I get an error saying this bundle is not correct for my operating system. I started by creating a folder C:\Android and then downloading the Windows 32-bit bundle into that location. I got the error shortly after double-clicking on the Initial_setup.bat file. I notified Support about this problem three times without a single reply. Without the ADE installed I cannot go any further in this course! What is going wrong? The following is the redirected output of the batch file: C:\Android\android_dev_environment_windows_32bit\android_dev_environment>REM Set the Android SDK path in Eclipse. Must be the absolute;

C:\Android\android_dev_environment_windows_32bit\android_dev_environment>REM a relative path does not work with the AVD Manager.

C:\Android\android_dev_environment_windows_32bit\android_dev_environment>cd 1>temp.txt 2>&1

C:\Android\android_dev_environment_windows_32bit\android_dev_environment>set /p sdk_path= 0<temp.txt

C:\Android\android_dev_environment_windows_32bit\android_dev_environment>del temp.txt

C:\Android\android_dev_environment_windows_32bit\android_dev_environment>set sdk_path=C:\Android\android_dev_environment_windows_32bit\android_dev_environment\android-sdk-windows

C:\Android\android_dev_environment_windows_32bit\android_dev_environment>set sdk_path=C:\Android\android_dev_environment_windows_32bit\android_dev_environment\android-sdk-windows

C:\Android\android_dev_environment_windows_32bit\android_dev_environment>set sdk_path=C:\Android\android_dev_environment_windows_32bit\android_dev_environment\android-sdk-windows

C:\Android\android_dev_environment_windows_32bit\android_dev_environment>echo “Setting Android SDK path in Eclipse...” “Setting Android SDK path in Eclipse...”

C:\Android\android_dev_environment_windows_32bit\android_dev_environment>echo com.android.ide.eclipse.adt.sdk=C:\Android\android_dev_environment_windows_32bit\android_dev_environment\android-sdk-windows 1>>.\workspace.metadata.plugins\org.eclipse.core.runtime.settings\com.android.ide.eclipse.adt.prefs

C:\Android\android_dev_environment_windows_32bit\android_dev_environment>echo “Android SDK path set.” “Android SDK path set.”

C:\Android\android_dev_environment_windows_32bit\android_dev_environment>REM Create a new AVD

C:\Android\android_dev_environment_windows_32bit\android_dev_environment>echo “Creating a new AVD...” “Creating a new AVD...”

C:\Android\android_dev_environment_windows_32bit\android_dev_environment>echo no | .\android-sdk-windows\tools\android create avd -n Android41 -t 1 --force This version of C:\Android\android_dev_environment_windows_32bit\android_dev_environment\Java\jdk1.6.0_35\bin\java.exe is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher. Invalid path The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. ERROR: SWT folder '' does not exist. Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.

C:\Android\android_dev_environment_windows_32bit\android_dev_environment>echo “AVD created.” “AVD created.”

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

One of the biggest challenges as a developer is being able to research problems like these, and solve them. Don't be worried to try different approaches, experiment and go against the voice of reason when trying to find the solution. Just stay focused

7 Answers

James-I definitely have a 32-bit Windows 7 Professional system (per Control Panel): my laptop is 6 years old and only has 4GB on board. Matthew-I downloaded the bundle from the Treehouse website via the link at the bottom of the page where the video pauses for one to do so: http://teamtreehouse.com/library/build-a-simple-android-app/getting-started-with-android/android-setup-and-the-crystal-ball-project-2

In my case, the problem does indeed appear to be IN the bundle provided by Treehouse (at the link I provided above). I downloaded the 32-bit Windows bundle from Google and, while it is represents a much more recent version than the one being demonstrated in the video (making it MUCH harder to follow each lesson), at least it DOES load and it DOES work!

If I were Treehouse, I would recommend looking very closely at exactly which operating system AND which version of Java were bundled together under the 32-bit Windows label. Something, indeed, does not match something!

Ya I'm having the same exact problem the 32-bit Windows bundle by Treehouse and doesn't work. I'm gonna try the 64 bit bundle, but I know my pc is a slim 32-bit old desktop. I really want to try the Android lessons, but I can't figure out the Treehouse bundle.

Hi Kirk, did you install Java Runtime Environment first? You can't install ADT before you set up a JVM.

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Hey everyone! Sorry about the problems with the bundle. I will refresh the Crystal Ball course before too long and will switch to the bundle from the Android Developer site which is more stable (or even Android Studio depending on the timing). Your best bet is probably to switch to that bundle: http://developer.android.com/sdk/index.html

This was discussed in the Forum a while back, and this post contains additional information to help you get setup with the alternate bundle: https://teamtreehouse.com/forum/android-lesson-cant-run-initialsetupbat#show-comment-5974

Matthew Mascioni
Matthew Mascioni
20,444 Points

Hi Kirk,

Unfortunately, Treehouse Support wouldn't be the right people to contact in this kind of situation, because the problem seems to be within the bundle itself.

Where did you download the development bundle? It looks like it could be an error with Java itself.

James Barnett
James Barnett
39,199 Points

The 32-bit version probably isn't the one you want, the vast majority of all computers that came with Windows 7 pre-installed are 64-bit.

Here's how to find out if you are running 32-bit or 64-bit