Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16074

Content of AndroidManifest.xml not shown in Android Lint Plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Android Lint Plugin allows you to see the file and line that generated a warning. My project shows the content of every file except for AndroidManifest.xml.

        Attachments

          Activity

          Hide
          orrc Christopher Orr added a comment -

          I just tested this and it works for me, with a Lint XML file outside the workspace, and one I generated inside the workspace. I'm using Lint 21.

          Can you please show the command you're using to generate the Lint XML file?

          Show
          orrc Christopher Orr added a comment - I just tested this and it works for me, with a Lint XML file outside the workspace, and one I generated inside the workspace. I'm using Lint 21. Can you please show the command you're using to generate the Lint XML file?
          Hide
          designentropy Joris van der Pol added a comment - - edited

          Hi,

          I'm using the Lint target as provided in the build.xml (Android SDK Tools 21.0.1). A generated build.xml file which imports the build.xml of the SDK installation resides in the same directory as the AndroidManifest.xml. I noticed that the Source Folder is set to (none) in this case.

          I'll mail you the generated Lint XML file.

          Show
          designentropy Joris van der Pol added a comment - - edited Hi, I'm using the Lint target as provided in the build.xml (Android SDK Tools 21.0.1). A generated build.xml file which imports the build.xml of the SDK installation resides in the same directory as the AndroidManifest.xml. I noticed that the Source Folder is set to (none) in this case. I'll mail you the generated Lint XML file.
          Hide
          orrc Christopher Orr added a comment -

          That file looks ok, and everything works fine when I use your Lint XML file, or generate one myself with "ant lint". Maybe it's a Windows thing..?

          Could you possibly attach or send the $JENKINS_HOME/jobs/$JOB_NAME/lastSuccessful/android-lint-issues.xml file?

          Show
          orrc Christopher Orr added a comment - That file looks ok, and everything works fine when I use your Lint XML file, or generate one myself with "ant lint". Maybe it's a Windows thing..? Could you possibly attach or send the $JENKINS_HOME/jobs/$JOB_NAME/lastSuccessful/android-lint-issues.xml file?
          Hide
          orrc Christopher Orr added a comment -

          Closing this ticket as the Android Lint Plugin was deprecated last year.

          Its functionality has been integrated into the Warnings Next Generation Plugin:
          https://plugins.jenkins.io/warnings-ng/

          Show
          orrc Christopher Orr added a comment - Closing this ticket as the Android Lint Plugin was deprecated last year. Its functionality has been integrated into the Warnings Next Generation Plugin: https://plugins.jenkins.io/warnings-ng/

            People

            Assignee:
            orrc Christopher Orr
            Reporter:
            designentropy Joris van der Pol
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: