Running Android Lint has encountered a problem Failed Solution

(842 Views)


When you are working with IDE, you might sometime get the following error:

'Running Android Lint' has encountered a problem.
Failed java.lang.NullPointerException

'Running Android Lint' has encountered a problem NullPointerException Error
Running Android Lint has encountered a problem Failed Solution

Error Stacktrace:

java.lang.NullPointerException at com.android.ide.eclipse.adt.internal.lint.EclipseLintClient.getTargets(EclipseLintClient.java:924) at com.android.tools.lint.detector.api.Project.readManifest(Project.java:632) at com.android.tools.lint.client.api.LintDriver.runFileDetectors(LintDriver.java:936) at com.android.tools.lint.client.api.LintDriver.checkProject(LintDriver.java:842) at com.android.tools.lint.client.api.LintDriver.analyze(LintDriver.java:423) at com.android.tools.lint.client.api.LintDriver.analyze(LintDriver.java:332) at com.android.ide.eclipse.adt.internal.lint.LintJob.run(LintJob.java:164) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:51)

Solution

Go to Menu : Window -> Preferences -> Android -> Lint Error Checking and Un-Check : "When saving files, check for errors"

There is an issue with existing Android ADT Plugin, but you don't need to worry as Google has already provided a fix for this Issue in its next release. You can get it from here

Google ADT Plugin for Eclipse 23.0.3

To apply the above fix, you need to follow this steps:
invoke Help > Check For Updates. Make sure you that you are using the https, not the http URL to the update center: https://dl.google.com/android/eclipse/

Now just restart Eclipse IDE, you will never ever see any Lint Error pop-up messages.

Solution Worked 0 UpvotesUpvote

        

Solution Didn't Worked 0 DownvotesDownvote



Comments



Search
Play 2048 Game Online

Search Tags