Have you just updated your Android Eclipse IDE (SDK) to API 21 (L Preview) then you may face the below error message when you load you start your Workspace.
βLoading data for Android L (Preview)β has encountered a problem.
Parsing Data for android-L failed
Parsing Data for android-L failed
Unsupported major.minor version 51.0
When you try looking at the "Graphic layout" for layout.xml file you would see nothing in the Palette view. The project target (Android L (Preview)) was not properly loaded and the error message window keeps popping every now and then.
Reason ?If you compile your code against Android L-Preview then you require to have Java 7
Check for Java Development (JDK) version. For L Preview you must have JDK 1.7, JDK 1.6 would not work. If not then download JDK 1.7 and update JAVA_HOME for your windows Environment Variable or Appropriately for Linux of Mac OS X system.
Alternative Solution
You can complete your code against API levels below 20, change the targetSdkVersion in AndroidManifest.xml file below level 20.
Clean and Build your project and things should work fine.
- appcompat_v7 errors after updates to API level 21 Material Theme
- adb: The Android Debug Bridge and Commands
- The Android Virtual Device myEmulator is currently running an emulator and cannot be deleted.
- How to make TextView Text Transparent [Android]
- Android is starting optimizing... app 1 of 1
- How to make Text in TextView bold and italic in Android
- Android Development - How to switch between two Activities
- Android : IOException: Unable to open sync connection!
- Android Toolbar example with appcompat_v7 21
- How to Change Android Title Bar Color?
- How to Add Padding to Android TextView
- JavaScript : redirect page to other url
- Programmatically Send an Email from Android App using Intent
- What is Android Toast.LENGTH_SHORT and Toast. LENGTH_LONG durations
- [Soluiton] You already have the latest version of Android Studio installed
- Detect swipes on Android Activity
- Add Buttons at the bottom of Android Layout xml file
- Android Lint app_name is not translated in af (Afrikaans) am (Amharic) ar (Arabic) bg (Bulgarian)
- Hide Navigation Bar from Android Screen Activity
- Android Disable EditText from Auto Focus on Activity load
- Toast not getting displayed Android App
- How to Enable Developers Option in Android Phones Settings
- Android : Duplicate registration for activity com.example.abc
- Android ListView turns Black or Flickers while Scrolling
- Android Studio Ctrl Shift o auto import not working
- Program 37: Store your name in a variable and print it - Python-Programs
- pip get list of all outdated Python packages - Python
- Pdf Text to Speech option in Mac OS X Preview App - Mac-OS-X
- JSON Schema Validator Libraries: JSON Tutorial - Json-Tutorial
- Step-by-Step: Setting up Docker + Ubuntu Linux + Git + GitHub Tutorial - Git
- Fix: SpringFramework BeanDefinitionValidationException: Could not find an init method named - Java
- Disable Apps from Opening on Mac Startup (Login items) - MacOS
- How to switch to Powershell on Mac Terminal - Powershell