Thrive in the application economy with an APM model that is strategic. Be E.P.I.C. with CA APM. Brought to you in partnership with CA Technologies.
Getting started as an Android developer can be a bit confusing. Unlike developing for iOS or Windows Phone, Android developers have lots of choices. We can choose our development o/s: Windows, Mac, or even Linux. We can choose our IDE: Eclipse, Intellij, or the new Android Studio. We can even choose our device emulators: stick with Android emulator, build one with VirtualBox, or one from Genymotion. Yes, we have a lot of choices and it can be confusing.
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 6u45
There 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.
Once 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 Studio
Android 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.
Piece Number Three: Genymotion Emulator
Genymotion 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.
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.
Navigate the Maze of the End-User Experience and pick up this APM Essential guide, brought to you in partnership with CA Technologies.