xamarin / AndroidX

AndroidX bindings for .NET for Android
MIT License
181 stars 45 forks source link

TFM net8.0 with Material 1.11.0 #842

Closed moljac closed 3 months ago

moljac commented 7 months ago

Does this change any of the generated binding API's?

Describe your contribution

Old:

In May support for Xamarin.Classic (monoandroid12) and net6.0 will be dropped and this is recon PR to see what is ahead of the team.

  1. created branch based on .NET 8 (net8.0) build - PR https://github.com/xamarin/AndroidX/pull/804
  2. bumped Material to 1.11.0
  3. fixed metdata
MagicAndre1981 commented 7 months ago

you should use the stable net 8 SDK, not RC2

moljac commented 7 months ago

you should use the stable net 8 SDK, not RC2

thanks. good catch. I copied, branched and bumped material. And forgot about details.

nucombo commented 6 months ago

any chance u could make zip of the lib for testing? I tried building it myself but I get 404 on all the java files and it all goes downhill form there.

Of if u guys have a build somewhere of the latest changes I can help testing and u could direct me to it I would appreciate.

best regards.

moljac commented 6 months ago

any chance u could make zip of the lib for testing? I tried building it myself but I get 404 on all the java files and it all goes downhill form there.

404 for javadocs?

like this:

========================================
binderate
========================================
Failed to download activity-javadoc.jar: Response status code does not indicate success: 404 (Not Found).
Failed to download activity-compose-javadoc.jar: Response status code does not indicate success: 404 (Not Found).
Failed to download activity-ktx-javadoc.jar: Response status code does not indicate success: 404 (Not Found).
Failed to download ads-identifier-javadoc.jar: Response status code does not indicate success: 404 (Not Found).
Failed to download ads-identifier-common-javadoc.jar: Response status code does not indicate success: 404 (Not Found).
Failed to download ads-identifier-provider-javadoc.jar: Response status code does not indicate success: 404 (Not Found).
Failed to download annotation-javadoc.jar: Response status code does not indicate success: 404 (Not Found).
Failed to download annotation-experimental-javadoc.jar: Response status code does not indicate success: 404 (Not Found).

???

This is normal. Just keep going.

Build system is not trivial, but it should be manageable. Open issue if necessary or keep on reporting here and I will help you until you make it.

Of if u guys have a build somewhere of the latest changes I can help testing and u could direct me to it I would appreciate.

Nope. Builds are internal and resulting artifacts are not published to public. Sorry.

best regards.

moljac commented 3 months ago

sample error:

./samples/dotnet/BuildAllDotNet/AndroidManifest.xml : error APT2260: resource mipmap/appicon (aka com.companyname.BuildAllDotNet:mipmap/appicon) not found. [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj] ./samples/dotnet/BuildAllDotNet/AndroidManifest.xml : error APT2260: [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj] ./samples/dotnet/BuildAllDotNet/AndroidManifest.xml : error APT2260: This error is likely caused by an issue with the AndroidManifest.xml file or an Android manifest generation attribute in a source code file. [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj] /usr/local/share/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.113/tools/Xamarin.Android.Aapt2.targets(214,3): error APT2067: failed processing manifest. [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj] /usr/local/share/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.113/tools/Xamarin.Android.Aapt2.targets(214,3): error APT2067: [./samples/dotnet/BuildAllDotNet/BuildAllDotNet.csproj]