Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The project target (Android L (Preview)) was not properly loaded

Recently I upgraded Eclipse along with ADT plugins to Android L priew.

I have the latest Java update as well i.e. Java 8.

I was unable to see the layout and it displays as below

enter image description here

like image 563
Kartheek s Avatar asked Jun 30 '14 05:06

Kartheek s


2 Answers

Please, note this Android icon in the upper side of the screen

Android icon

This icon is in the upper side of this screen:

Screen which displays the API version to render the code

Probably it's displaying the number 20. This is the selection to use the API 20 to render the window. Change it to 19, or 20W (not 20L). It'll fix the problem.

API 19 selected

like image 155
Alexandre Landim Avatar answered Oct 02 '22 18:10

Alexandre Landim


You may also need to modify eclipse config to run on Java 7 Runtime.

Add this to the beginning of eclipse.ini

-vm C:/Program Files/Java/jre7/bin 
like image 22
josephus Avatar answered Oct 02 '22 19:10

josephus