adapt to new Android Studio