Setting up Android ADT on Windows 8
Setting up Android ADT and SDK on Windows 8 sucks…a lot.
It took 2 fresh installs, a couple of restarts, and a couple of hours of patience. I hope my advice can save you some headaches.
The biggest bug I had to fix to get the Android ADT working on Windows was fixing path variables.
If you need the adt-bundle zip for windows look here: http://downloads.
StackOverflow solution: make sure you point to the bin folder inside your jre install!
Useful helper article: explaining how to update system / PATH variables in Windows
- Make sure you restart your computer after editing these path variables!
- Using the adt windows bundle was easier and safer than trying to add the sdk to an existing eclipse install.
- Double clicking on “SDK Manager.exe” didn’t work, I had to open up a command line in the ‘sdk\tools’ folder and type android for it to work.
- Make sure you have jre 1.6 or 1.7 installed. To check go to C:\Program Files\Java
If you are interested here are some extra details on my experience….
Attempt 1: Installing Android SDK with existing Eclipse instillation
I have my eclipse setup just how I like it for development, and I have all of my Ruby and web dev plugins installed, so I thought it would be nice to use this same installation for my Android development…I was wrong. I followed the ADT instructions, but all that happened was it broke my eclipse.
Attempt 2: Get the full windows adt package
This attempt got off to a better start. I unpacked the ADT bundle into my Documents folder so that admin privileges wouldn’t be an issue. I still had to fix all of the path variable stuff, outlined above, but now it works! I’m still trying to figure out the emulator tools, they seem to be missing…
I found this beautiful tutorial: http://codebutler.com/2012/10/10/configuring-a-usable-android-emulator/
The only step I found was missing was to make sure you use the Android SDK Manager to download the ‘Intel x86 Atom System’ so that you’re allowed to create x86 devices.