2017-09-14 7 views
0

Xamarin.Facebook.Androidパッケージを利用するには正しいバージョン構成を探していますが、Lollipopをサポートできるようにしています(最新バージョンはNougatのみをサポートしているようです) 。java.lang.IllegalArgumentException:既にXamarinに追加されています

私は多くの必要なパッケージをインストールしましたが、ビルド中にエラーが発生しましたが、取り除くことはできません。

java.lang.IllegalArgumentException:既に追加されています:Lbolts/AggregateException;

私のグーグル・グーグルは、このエラーは一般的に1つのパッケージの倍数を持つことによって発生することを示唆しました。私は問題を解決する方法を理解できませんでした。

プロジェクトにインストールされているパッケージの一覧です。どんな助けでも大歓迎です! (長さのため申し訳ありません)

AWSSDK.APIGateway {3.3.8}
AWSSDK.CognitoIdentity {3.3.2.14}
AWSSDK.CognitoIdentityProvider {3.3.6}
AWSSDK.CognitoSync {3.3.1.23}
AWSSDK.Core {3.3.17.8}
AWSSDK.DynamoDBv2 {3.3.4.17}
AWSSDK.Extensions.CognitoAuthentication {0.9.1}
AWSSDK.IdentityManagement {3.3.4.3}
AWSSDK.S3 {3.3.10.4}
AWSSDK.SecurityToken {3.3.3}
AWSSDK.SimpleNotificationService {3.3.0.21}
AWSSDK.SQS {3.3.2.7}
ボルト{1.4.0.1}
Microsoft.Bcl {1.1.10}
Microsoft.Bcl.Build {1.0.21}
Microsoft.CSharp {4,4,0}
Microsoft.Net.Http {2.2.29}
Microsoft.NETCore.Platforms {2.0.0}
Microsoft.Win32。プリミティブ{4.3.0}
NETStandard.Library {2.0.0}
Newtonsoft.Json {10.0.3}
PCLCrypto {2.0.147}
PCLStorage {1.0.2}
PInvoke.BCrypt {0.3.2}
PInvoke.Kernel32 {0.3.2}
PInvoke.NCrypt {0.3.2}
PInvoke.Windows.Core {0.3.2}
SQLitePCLRaw.bundle_green {1.1.8}
SQLitePCLRaw.core {1.1.8}
SQLitePCLRaw .lib.e_sqlite3.android {1.1.8}
SQLitePCLRaw.provider.e_sqlite3.android {1.1.8}
System.AppContext {4,3,0}
にSystem.Collections {4,3,0}
System.Collections.Concurrent {4,3,0}
システム。コレクション.NonGeneric {4.3.0}
System.ComponentModel.TypeConverter {4.3。0}
System.Console {4,3,0}
System.Diagnostics.Debug {4,3,0}
System.Diagnostics.Tools {4,3,0}
System.Diagnostics.Tracing {4,3,0}
System.Globalization {4.3.0}
System.Globalization.Calendars {4,3,0}
System.IO {4,3,0}
System.IO.Compression {4,3,0}
System.IO.Compression。 ZipFile {4.3.0}
System.IO.FileSystem {4.3.0}
System.IO.FileSystem.Primitives {4,3,0}
System.Linqの{4,3,0}
System.Linq.Expressions {4,3,0}
System.Net.Http {4.3.2}
System.Net.Primitives {4.3.0}
System.Net.Sockets {4,3,0}
System.ObjectModel {4,3,0}
するSystem.Reflection {4,3,0}
System.Reflection.Extensions { 4.3.0}
System.Reflection.Primitives {4.3.0}
System.Resources.ResourceManager {4,3,0}
System.Runtime {4,3,0}
System.Runtime.Extensions {4,3,0}
System.Runtime.Handles {4,3,0}
System.Runtime .InteropServices {4.3.0}
System.Runtime.InteropServices.RuntimeInformation {4,3,0}
System.Runtime.Numerics {4,3,0}
System.Runtime.Serialization.Formatters {4,3,0}
システム.Runtime.Serialization.Primitives {4.3.0}
System.Security.Cryptography.Algorith MS {4.3.0}
System.Security.Cryptography.Encoding {4,3,0}
System.Security.Cryptography.Primitives {4,3,0}
System.Security.Cryptography.X509Certificates {4,3,0}
System.Text.Encoding {4.3.0}
System.Text.Encoding.Extensions {4,3,0}
System.Text.RegularExpressions {4,3,0}
System.Threading {4,3,0}
システム。 Threading.Tasks {4.3.0}
System.Threading.Timer {4.3.0}
System.Xml.ReaderWriter {4,3,0}
System.Xml.XDocument {4,3,0}
System.Xml.XmlDocumentは{4,3,0}
検証{2.4.15}
Xamarin.Android.Support .Animated.Vector.Drawable {23.4.0.1}
Xamarin.Android.Support.CustomTabs {23.4.0.1}
Xamarin.Android.Support.v4 {23.4.0.1}
Xamarin.Android.Support.v7.AppCompat {23.4.0.1}
Xamarin.Android.Support.v7.CardView {23.4.0.1}
Xamarin.Android.Support.Vector.Drawable {23.4.0.1}1}
Xamarin.Facebook.Android {4.16.1}

答えて

0

問題を修正したようです。これはXamarin.Facebook.Androidをインストールする前にXamarin.Android.Support.v4パッケージがインストールされているために発生していました。

Xamarin.Facebook.AndroidとXamarin.Android.Support.v4(およびその両方のすべての依存関係)をアンインストールしてから、Xamarin.Facebook.Androidを再インストールするとエラーが解消されました。

関連する問題