ported to Android Studio 0.8