xamarin / Xamarin.Social

Xamarin.Social
Apache License 2.0
124 stars 74 forks source link

System.MissingMethodException #47

Open TeraCorp opened 5 years ago

TeraCorp commented 5 years ago

I've added Xamarin.Social to both my shared project and my Android project, but when I launch it in Android, it fails with MissingMethodException on the line below. Am I missing something? I have Xamarin.Social (v1.1.8) as well as Xamarin.Auth (v1.6.0.2) in both projects.

await facebook.GetAccountsAsync().ContinueWith(accounts => {...});

System.MissingMethodException: System.Threading.Tasks.Task1<System.Collections.Generic.IEnumerable1> Xamarin.Social.Service.GetAccountsAsync() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].Start[TStateMachine] (TStateMachine& stateMachine) [0x0002c] in :0 at BabyBook.NewPicturePage.ShareToFacebook () [0x00013] in <4cd4b87556604d948a627179f832d02f>:0 at BabyBook.NewPicturePage+d__71.MoveNext () [0x00256] in C:\Projects\Mobile Projects\New Solution\Solution1\Pages\NewPicturePage.xaml.cs:326 } System.MissingMethodException