Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing androidx.window.[extensions|sidecar] warnings #9085

Merged
merged 1 commit into from
Jul 18, 2024

Commits on Jul 13, 2024

  1. Missing androidx.window.[extensions|sidecar] warnings

    Fixes dotnet#6809
    
    We have an issues where if a library manifest contains
    the following element and the file dos NOT exist in
    `android-sdk\platforms\android-XX\optional` we get an XA4218 warning.
    
    ```xml
    <uses-library
            android:name="androidx.window.sidecar"
            android:required="false" />
    ```
    
    This is the warning.
    
    ```
    Warning XA4218: Unable to find //manifest/application/uses-library at path: android-sdk\platforms\android-31\optional\androidx.window.sidecar.jar	obj\Release\120\android\AndroidManifest.xml
    ```
    
    So the work around this issue if the `required` attribute is NOT `true`
    we should ignore the warning. If the library is `required`` or the `required`
    attribute is NOT specified we should revert to to the current behavior.
    
    This warnings can come up if people use vendor specific .aar files. The
    libraries they are referring too will never exist in the `sdk` `optional`
    folder.
    dellis1972 committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    4f2ca29 View commit details
    Browse the repository at this point in the history