Getting Started with Android Development in 2014 - Windows Version
So I am going to show you how to set up my PC development environment. I like it because it gives me the best combination of speed and tools to make developing good code easier. Luckily it only consists of three pieces and all of them are free.Piece Number One: Java SE Development Kit 6u45There is a bit of confusion in the Android world over which version of Java SE Development Kit we should be using. Java is rarely mentioned on developer.android.com. When it is mentioned it usually mention Java SDK version 6. Now if you know anything about Java, you know that version 8 was released recently, so why are we using a version which is two releases behind? Most likely it is related to the ongoing litigation between Google and Oracle.There are quite a few devs which say they are using Android with Java version 7 and some which say they have it working with version 8. I am too caution however to try the newer versions. I know that version 6 works. So until I hear something definitive from Google, I am sticking with it. Luckily it is still available. Don't fret over the security warnings. The warnings are mainly for servers apps built with Java not for Android apps. Use the link below to get the download. You have to be a registered member of Oracle website, but it is free, save a few emails you will get from Oracle.http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html#jdk-6u45-oth-JPROnce you have installed it. You must add it to your path's variable and you should also create a Java_Home variable. You should do this before you continue, but don't worry it is easy.Piece Number Two: Android StudioAndroid Studio is still in beta, but it has been stable for me and since it is the future of Android, I recommend using it. Now there are somethings that don't work with it yet, but the only big thing is the NDK. I don't have any idea when Google is planning to add NDK support to Android Studio. The current version of Android Studio is 0.5.7 but it does feel pretty close to finish. It is super easy to install just go to the link below and follow the instructions.http://developer.android.com/sdk/installing/studio.html
Piece Number Three: Genymotion EmulatorGenymotion is built on top of Oracle's VirtualBox. Unlike Google's emulators it doesn't try to simulate an ARM processor instead, it uses the full power of your desktop's CPU to run x86 code. The difference is amazing. On a decent PC, Genymotion is fast enough to run games. Genymotion is free for personal use, but you do have to register. Go to: http://www.genymotion.com/To register. They will send a link to your email address in order to confirm it. Click the link and you are in. For Windows machines there is a special installation package which combines VirtualBox and Genymotion together. It is the first one listed under Windows. Be sure to choose it.
Follow the installation instructions and once complete, you will need to download a few emulated devices.
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)