Skip to content

Warning [ObsoleteSdkInt] displayed when enabling lint checks in simple XA app #1171

Closed

Description

@pjcollins

Steps to Reproduce

  1. Build a simple "Hello World" type application with /p:AndroidLintEnabled=true /p:AndroidUseLatestPlatformSdk=true

Expected Behavior

Xamarin Android lint checks produce no warnings or errors for a simple 'template' style project.

Actual Behavior

XA Lint checks now produce the following warning:

(_LintChecks target) -> 
  obj/Debug/android/src/mono/MonoPackageManager.java(85,6): warning XA0102:  Unnecessary; SDK_INT is always >= 10 [ObsoleteSdkInt] [/Users/petercollins/git/monodroid-samples/HelloWorld/HelloWorld.csproj]

Version Information

XA Version: 8.2.0.4
SDK Tools Version: 26.1.1
SDK Platform Tools Version: 27.0.0
SDK Build Tools Version: 27.0.2

Log File

http://xqa.blob.core.windows.net/gist/log-e3357168d0154e319154eb4c64863316.txt

Activity

  1. added
    Area: App+Library Build
    on Jan 9, 2018
  2. added this to the d15-7 milestone on Jan 10, 2018
  3. ghost locked as resolved and limited conversation to collaborators on Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area: App+Library Build

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions