Question

I am using lint tool in Eclipse while developing an Android project. I could see the lint warnings in the lint tool console, but i cannot find any option to export this result to either XML or html file.

I know that, report can be generated from command promt, but i need to confirm whether this is possible through Lint tool integrated with Eclipse IDE. If it is possible could any one suggest how to take the report, if not i wonder why eclipse has not provided such a simple feature to the lint tool.

Was it helpful?

Solution 2

Hi As a part of RnD from my end I am closing this thread with the conclusion that we cannot export the lint report when we are running lint from the latest available Eclispe (bundled with ADT) plugin till date. If you are so required to get the report from this plugin, better enhance your own plugin for the same :).

As Kanwalijit answered, if we want to export the Lint report, we need to run the lint from command prompt.

Thanks

OTHER TIPS

1.open command line (cmd in windows)

2.navigate to "tools" directory located in android installation directory

3.here you just have to type :

command -

lint --html < html_output_path > < your_android_project_path > 

eg:

lint --html C:\report.html C:\yourAndroidProject\ 

4.go to html_path and open the html test report :)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top