Update for Android Studio

I tried getting this building in Eclipse and it was a pain. It worked the first time in the new Android Studio.