Android requires .class compatibility set to 5.0.

by Sylvain » Fri, 23 Apr 2010 08:02:05 GMT

Sponsored Links
 I had to reload XP and Eclipse + android of course. I am using the
2.0.1 SDK version/ API 6.

Everything was fine before, Now the project doesn't load-
I get:

[2010-04-21 09:59:24 - LatLonQ] Android requires .class compatibility
set to 5.0. Please fix project properties.

Don't see anything in project properties. Where is this set? Never saw
this before.

A clue? when I try to open the "" from my project I
org.eclipse.core.internal.resources.ResourceException: Resource is out
of sync with the file system: '/LatLonQ/'.



Android requires .class compatibility set to 5.0.

by ravindra singhai » Fri, 23 Apr 2010 13:27:09 GMT


If you are using Eclipse SDK than perform following steps to fix your

Right click on your application name (within Package Explorer view) ->
Android Tools -> Fix Project Properties

It worked for me when i faced similar problem. give it a try.



Sponsored Links

Other Threads

1. How to start a new process on bootup complete

I am adding a new service using ServiceManager.addService("xxxx", new
XXXXX()); and this service i want to start in a new process for that i
am doing Process.start("com.lge.ims.rcsweb.XXXXXProcess",
"xxxxxprocess", uid ,uid, gids, debugFlags, null);

This Process i want to start on bootup complete, since i can do
registerReceiver for Intent.ACTION_BOOT_COMPLETED  but at which place
i should do this.

My complete package reside in framework and i dont want to use any
application to trigger my process.

Thanks in advance



2. supporting only resolutions >= 320x480

Hello Android gurus,

My app only works in phones with screen resolution >= 320x480. More
precisely: it knows how to render itself correctly on any resolution
where the longer side is>=480 and the shorter side is >=320, no system
prescaling is needed, but anything less than 320x480 is simply too
small to cram my UI in.

What exactly do I put in my manifest to rule out phones with lower

Now, according to Table 1. from,
I could rule out the 240x320 resolution with


but that is not going to rule out the '240x400' and '240x432'
resolutions which apparently are considered 'normal screens' . That


3. How to use ndk to compile template classesé”›

4. [WTS] Motorola Defy.

5. [WTS] Moto Milestone 2nd like new

6. How to select a Contact Group, so not to create an "Invisible Contact" ?

7. About "?" in a URI