add compatibility with Android Studio