-
Notifications
You must be signed in to change notification settings - Fork 68
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
cannot access ListenableFuture #27
Comments
Can you please attach a sample project? Also try enabling Multi-Dex This error is coming for Plugin dependency Xamarin.Android.Arch.Work.Runtime |
I'm having the same build error when attempting to build the sample project (Nuget) for Android. However, the error only appears when using visual studio preview:
Any idea for fixing it ? Is it related to a known issue in the VS preview ? Is there a workaround ? Or maybe this is something new that should be reported to the VS team ? It could be worth re-opening this issue until we have a full resolution. |
Any progress on that one ? |
Same issue with the new preview: Visual Studio 2019 16.2.0 preview 4.0 (xamarin android sdk 9.4.0.51) |
@tranb3r Can you try referencing Xamarin.Android.Arch.Work.Runtime in your android project ? |
Same error (tested with the sample project (nuget)). |
Possibly related to dotnet/android#3343? |
Workaround: <Target Name="FixGuava" AfterTargets="_AddAndroidCustomMetaData">
<ItemGroup>
<_MonoAndroidReferencePath Include="@(_ReferencePath);@(_ReferenceDependencyPaths)" Condition=" '%(Filename)' == 'Xamarin.Google.Guava.ListenableFuture' " />
</ItemGroup>
</Target> |
Issue seems to be fixed in VS 16.2.1 (Xamarin.Android 9.4.1.0) |
Hello,
I have this error on the project Xamarin.Froms.Android with version 4.0.3 :
Error: error: cannot access ListenableFuture public class ScheduledNotificationWorker class file for com.google.common.util.concurrent.ListenableFuture not found
Does this come from the plugin or an implementation error?
The text was updated successfully, but these errors were encountered: