4

An internal error occurred during: "Running Android Lint". org/eclipse/jdt/internal/compiler/ast/UnionTypeReference Lint Error

Any solution?? i am not able to work because of it.

Shridutt Kothari
  • 7,326
  • 3
  • 41
  • 61
  • What version of Eclipse and Android SDK Tools do you have? – NickT Apr 16 '14 at 11:12
  • Eclipse Version: 1.9.0.v201106031100-7B7C7CCcNBGNCYJ_DVWY Build id: 1.7.2.v20110603-0500 Android SDK and ADT v22.6.2 –  Apr 16 '14 at 12:33
  • 1
    That doesn't sound like an Eclipse version number to me, more like an SQL developer plugin version no. What does your Eclipse say on start up splash screen? I suspect it's 'Helios'. In which case it will never support Java 7 language features. You need at least 'Indigo'. If you upgrade go straight to 'Kepler', or if feeling brave go for the pre-release 'Luna' – NickT Apr 16 '14 at 15:08
  • @shriduttkothari I am facing the same problem, did you solve it? if yes please share it's very annoying... – E_X May 15 '14 at 06:58
  • @E_X added answer below. –  May 16 '14 at 16:12

1 Answers1

1

It seems that the Eclipse Compiler for Java (ECJ) is too old in Eclipse 3.6. see Issue 66226 However it's allegedly been fixed in Tools 22.6 according to that bug report.

NickT
  • 23,844
  • 11
  • 78
  • 121
  • so what i need to do?? –  Apr 16 '14 at 11:19
  • 1
    Upgrade both the Android SDK and ADT to v22.6.2. –  Apr 16 '14 at 11:23
  • @CKDPublishing i already have Latest Updated Android SDK and ADT v22.6.2 and on checking update it says no update –  Apr 16 '14 at 12:32
  • You should also be running JDK v6 (1.6.45) instead of v7. JDK v7 is not yet supported by Android. –  Apr 16 '14 at 12:49
  • Java 7 is supported but you must set compliance level to 1.6. You must also have at least Eclipse Indigo. Helios won't support Java 7 language features. – NickT Apr 16 '14 at 15:08