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

Manual updates 20240807 support for nonstandard maven versions #15

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

moljac
Copy link
Contributor

@moljac moljac commented Aug 21, 2024

Context:

MAUI for Android cannot load images in AVIF format/encoding.

dotnet/maui#23316

https://en.wikipedia.org/wiki/AVIF

The solution is to add/bind Glide artifact with AVIF support

bumptech/glide#5140 (comment)

GPS-FB-MLKit issue:

dotnet/android-libraries#971

Details

https://mvnrepository.com/artifact/org.aomedia.avif.android/avif

https://repo1.maven.org/maven2/org/aomedia/avif/android/avif/maven-metadata.xml

<metadata>
    <groupId>org.aomedia.avif.android</groupId>
    <artifactId>avif</artifactId>
    <versioning>
        <latest>1.0.1.262e11d</latest>
        <release>1.0.1.262e11d</release>
        <versions>
            <version>0.9.3.a319893</version>
            <version>0.9.3.545a756</version>
            <version>0.10.1.d22d4de</version>
            <version>0.10.1.e92f734</version>
            <version>0.10.1.2e8fe11</version>
            <version>0.11.1.3c786d2</version>
            <version>0.11.1.647c3c2</version>
            <version>1.0.1.262e11d</version>
        </versions>
        <lastUpdated>20230831222653</lastUpdated>
    </versioning>
</metadata>
Unhandled exception. System.ArgumentException: '1.0.1.262e11d' is not a valid version string. (Parameter 'value')
   at NuGet.Versioning.NuGetVersion.Parse(String value)
   at MavenNet.MavenVersionRange.Satisfies(String version)
   at MavenNet.Models.Dependency.Satisfies(String version)
   at AndroidBinderator.Engine.<>c__DisplayClass7_0.<BuildProjectModels>b__0(MavenArtifactConfig ma) in C:\a\_work\1\s\util\Xamarin.AndroidBinderator\Xamarin.AndroidBinderator\Engine.cs:line 343
   at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
   at AndroidBinderator.Engine.BuildProjectModels(BindingConfig config, Dictionary`2 mavenProjects) in C:\a\_work\1\s\util\Xamarin.AndroidBinderator\Xamarin.AndroidBinderator\Engine.cs:line 340
   at AndroidBinderator.Engine.ProcessConfig(BindingConfig config) in C:\a\_work\1\s\util\Xamarin.AndroidBinderator\Xamarin.AndroidBinderator\Engine.cs:line 75
   at AndroidBinderator.Engine.BinderateAsync(BindingConfig config) in C:\a\_work\1\s\util\Xamarin.AndroidBinderator\Xamarin.AndroidBinderator\Engine.cs:line 46
   at Xamarin.AndroidBinderator.Tool.Program.Main(String[] args) in C:\a\_work\1\s\util\Xamarin.AndroidBinderator\Xamarin.AndroidBinderator.Tool\Program.cs:line 67
   at Xamarin.AndroidBinderator.Tool.Program.<Main>(String[] args)
An error occurred when executing task 'binderate'.
Error: Process xamarin-android-binderator exited with code [134.](url)

https://github.com/NuGetArchive/NuGet.Versioning/blob/master/src/NuGet.Versioning/NuGetVersion.cs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant