[Android] Solving problem when setup ActionBarSherlock libs and sample project.

The hierarchy of the type ‘Class name’ is inconsistent

My Eclipse, together with Android SDK has settings for java compiler:

– Compiler compliance level : 1.6  ( Ubuntu + openjdk) ( Window –> Pref –> Java –> Compiler)

when import ActionBarSherlock project, I must change it back to this compliance level.
–> Enable Project Specific Setting.
–> Set Compiler Compliance level of this project to be 1.6

Done !

Clear and rebuild project.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: