-
Notifications
You must be signed in to change notification settings - Fork 688
Warning XBD100: XamarinBuildDownloadRestoreAssemblyAar is no longer supported #784
Comments
I also have the same problem. |
I had this problem too. After I downgraded nearly all my plugins (e.g. xamarin.forms, googleplayservices.base and Xamarin.Build.Download) it works again for me. |
I also have the same problem with Xamarin.Build.Download 0.8.0, Xamarin.Forms 4.5 and last stable version packages of GooglePlayServicesComponents |
Same here |
Same issue here, after upgrading to 0.10, but also got a 48 other errors: e.g. |
@cfl777 I may be wrong, but this may be because you need to switch to the new d8 and r8 tools instead of the old (and soon-to-be-removed) dx and proguard. Try changing those in the project settings. |
@mattleibow Appreciate the advise! The problem I have though is that i get these issues when trying to use d8+r8: Only solution I could find online that comes close to the above is adding the below to Manifest:
But that doesn't work for me, still trying to figure out what else i can try. |
@cfl777 Is it possible to attach a build log? or a binlog? |
But, to talk on the original issue... The warning for |
@mattleibow Sure no problem - will slack you the logs the second I get a chance. That makes sense, will up my play/firebase libraries. Was just weird that I got those 48 other issues all of a sudden after updating Xamarin.Build.Download, so thought it was connected. But after multiple cleans/rebuilds etc those 48 issues disappeared. Thanks for your help! :) |
@mattleibow, which version of the Play/Firebase libraries will silence this warning? |
This is still an issue with Xamarin.Build.Download version 0.10.0. Any chance the warning could be either made actionable or removed? Thanks. |
@mfeingol I recently updated my Firebase and other libraries and the warnings persist. I suspect we will need to wait for an update for Xamarin.Build or any number of Firebase libraries before this is resolved |
My understanding is that it's going to need a change from @Redth or @mattleibow. Perhaps one of them could explain? |
I'm going to ping on this issue again. @Redth? @mattleibow? It would be great to no longer see this warning on every build. |
How we can solve this
|
Yea, I need to find out how to solve this issue as well. |
This is happening once again on Visual Studio for Mac (community) on version 8.7.8 (build 4) |
Another ping on this for @Redth and @mattleibow. |
+1 |
Hi, I am facing the same issue here after restoring my mac OS. |
Hi Bros, It's working fine for me. Restarted Visual studio. |
I see the error message, but haven't been impacted yet that I know of. Is there any documentation as to how to migrate? |
I was able to workaround this issue by removing some duplicate Xamarin.Firebase references and changing Linker options to "Link SDK assemblies only". The XDB100 warning is a bit of a red herring here so hopefully Microsoft will resolve this soon. |
In almost all cases, the warning from XBD is insignificant. It's mostly caused by the fact GPS/FB basically supports both the newer way of automatically downloading and referencing .aar's directly at build time as well as the old way of embedding them back into the .dll at build time. At this point I think it's safe we can remove the old method which unnecessarily causes the warning. I've started a PR here: xamarin/GooglePlayServicesComponents#392 |
When will there be an update for the Xamarin.Build including this? |
@Redth: a gentle ping on this question. |
@moljac ^ ? I think there's probably already an update with these changes... |
As of the current VS 2019 Pre - Preview 2.0 release, the problem is still present. |
cc @moljac |
We keep seeing this exception randomly on Xamarin.Android CI Builds using Microsoft Hosted build agents. |
+1 |
Keep seeing this. Visual Studio 2019, Update 16.10.0 2021-05-31 |
+1 |
I reverted "Xamarin.Firebase.Messaging" to 71.1740.4 and it works without errors. it is easy to find dependencies from NugetPackage manager. If you find that it depends on Xamarin.Build.Download >=0.10.0 then choose lower version of nuget package |
+1 |
I have same problem. |
how? |
anyone that solved this issue?? |
@mpasdan I explicitly installed Xamarin.Build.Download 0.11.0 to the native projects. |
even better try 0.11.4 https://www.nuget.org/packages/Xamarin.Build.Download/0.11.4 |
okey thank you I 'll try |
i could not solve the issue, i installed the package in the native projects but didn't change anything, yet there is the warning. |
After updating to Xamarin.Build.Downloads 0.8.0, I now see the following warning on every build of my app:
cf https://github.com/xamarin/XamarinComponents/pull/774/files#r362907122
cc @mattleibow
Two questions:
XamarinBuildDownloadRestoreAssemblyAar
anywhere that I'm aware of.Thanks.
The text was updated successfully, but these errors were encountered: