You can go to Project settings –> Java Compiler, and switch the compiler compliance level to 1.6. I have to do it every time i import an existing project.
More Related Contents:
- How to use Android studio
- SharedPreferences.onSharedPreferenceChangeListener not being called consistently
- Difference between getDefaultSharedPreferences and getSharedPreferences
- Custom ImageView with drop shadow
- How do I display the current value of an Android Preference in the Preference summary?
- How to add a button to PreferenceScreen
- Override Power button just like Home button
- Android Overriding onBackPressed()
- TimePicker in PreferenceScreen
- Android: Creating custom preference
- How to open or simulate a click on an android Preference, created with XML, programmatically?
- Android Alarm Clock UI
- how to use getSharedPreferences in android
- Override Android Backbutton behavior only works on the first page with PhoneGap
- What’s the maximum size for an Android shared preference value?
- Android emulator camera custom image
- Android – onBackPressed() not working
- How to listen for preference changes within a PreferenceFragment?
- Custom PreferenceCategory Headings
- how to remove shared preference while application uninstall in android
- How can I change font size in PreferenceScreen
- How do you create Preference Activity and Preference Fragment on Android?
- Overriding referenced style attributes
- How to add a button to a PreferenceScreen?
- How to use Percentage for android layout?
- Android – How Do I Set A Preference In Code
- Dynamic ListPreference in android
- Missing annotations.jar
- PreferenceFragmentCompat has padding on PreferenceCategory that I can’t get rid of
- How to detect if changes were made in the preferences?