Fix the Android Studio hints and update Java compiler version