Android Lint Issue in SonarQube 7.9.6 LTS (CE)

which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)

  • SonarQube Version: 7.9.6 LTS (Community Edition)
  • Sonar Scanner Version: 3.0.3

what are you trying to achieve:
We would want to analyze Android Projects and import the errors on SonarQube

what have you tried so far to achieve this:

Old Sonar Server Details

Version: 5.6.7 ( Community Edition)
Plugin: Android Lint 1.1 ( Developed by SonarSource). [ Used to import Android Lint Issues from lint-results-debug.xml]

New Sonar Server Details

Version: 7.9.6 LTS (Community Edition)

In our latest 7.9.6 Sonar Server we notice that the Android Lint plugin is not supported anymore.
We would like to know which plugin to use to import the android issues from the lint.xml file.
We tried using SonarWay Quality Profile under Java Language but we are facing the error “No android lint issues will be imported on this file.”

Kindly suggest a way forward,

Thanks in advance,
Mona Gopal

Hi Mona,

Welcome to the community!

First, your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.9.6 → 8.9.2 → 9.1 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

Once you get to a recent version (I suggest going all the way to 9.1) you’ll find more native support for Android. Mobile support is a general goal for the 9-series, so as newer versions come out, you’ll want to keep up.

 
Ann