Added compatability for Android Studio 1.0