Updated to use Android Studio with gradle.