4
votes

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.

2
What version of Eclipse and Android SDK Tools do you have? - NickT
Eclipse Version: 1.9.0.v201106031100-7B7C7CCcNBGNCYJ_DVWY Build id: 1.7.2.v20110603-0500 Android SDK and ADT v22.6.2 - shridutt kothari
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
@shriduttkothari I am facing the same problem, did you solve it? if yes please share it's very annoying... - E_X
@E_X added answer below. - shridutt kothari

2 Answers

7
votes

In Window > Preferences > Android > Lint Error Checking, uncheck "When saving files check for errors".

1
votes

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.