我正在尝试使用Xbuild在Mac OS框上使用命令行构建 - 构建适用于Android,该应用程序包含对'googleplayserviceslib',xamarin.android.support的引用.v4'和其他一些库。
但是,当应用程序试图构建它以无法解析这些引用时,我列出了下面的摘要。我可以看到它正在尝试在几个地方进行搜索,但是不是Android SDK Manager部署LIB的位置。我认为我需要以某种方式指定它在正确的位置搜索。
有人可以告诉我
A。如果我的假设正确
b。我如何强制构建过程在正确的位置进行搜索。
问候拉杰什
[16:13:51][Step3/3] /Library/Frameworks/Mono.framework/Versions/3.2.6/lib/mono/4.0/Microsoft.Common.targets: warning : Reference 'GooglePlayServicesLib' not resolved
[16:13:51][Step 3/3] For searchpath {CandidateAssemblyFiles}
[16:13:51][Step 3/3] Warning: {CandidateAssemblyFiles} not supported currently
[16:13:51][Step 3/3] For searchpath {HintPathFromItem}
[16:13:51][Step 3/3] Considered ../Components/googleplayservicesgingerbread-13.0/lib/android/GooglePlayServicesLib.dll, but it does not exist.
[16:13:51][Step 3/3] For searchpath {TargetFrameworkDirectory}
[16:13:51][Step 3/3] Considered target framework dir /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.0.3, assembly named 'GooglePlayServicesLib' not found.
[16:13:51][Step 3/3] Considered target framework dir /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0, assembly named 'GooglePlayServicesLib' not found.
[16:13:51][Step 3/3] Considered target framework dir /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/, assembly named 'GooglePlayServicesLib' not found.
[16:13:51][Step 3/3] For searchpath {PkgConfig}
[16:13:51][Step 3/3] Considered GooglePlayServicesLib, but could not find in any pkg-config files.
[16:13:51][Step 3/3] For searchpath {GAC}
[16:13:51][Step 3/3] Considered GooglePlayServicesLib, but could not find in the GAC.
[16:13:51][Step 3/3] For searchpath {RawFileName}
[16:13:51][Step 3/3] For searchpath bin/Debug/
[16:13:51][Step 3/3] /Library/Frameworks/Mono.framework/Versions/3.2.6/lib/mono/4.0/Microsoft.Common.targets: warning : Reference 'Xamarin.Android.Support.v4' not resolved
[16:13:51][Step 3/3] For searchpath {CandidateAssemblyFiles}
[16:13:51][Step 3/3] Warning: {CandidateAssemblyFiles} not supported currently
[16:13:51][Step 3/3] For searchpath {HintPathFromItem}
[16:13:51][Step 3/3] Considered ../Components/googleplayservicesgingerbread-13.0/lib/android/Xamarin.Android.Support.v4.dll, but it does not exist.
[16:13:51][Step 3/3] For searchpath {TargetFrameworkDirectory}
[16:13:51][Step 3/3] Considered target framework dir /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.0.3, assembly named 'Xamarin.Android.Support.v4' not found.
[16:13:51][Step 3/3] Considered target framework dir /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0, assembly named 'Xamarin.Android.Support.v4' not found.
[16:13:51][Step 3/3] Considered target framework dir /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/, assembly named 'Xamarin.Android.Support.v4' not found.
[16:13:51][Step 3/3] For searchpath {PkgConfig}
[16:13:51][Step 3/3] Considered Xamarin.Android.Support.v4, but could not find in any pkg-config files.
[16:13:51][Step 3/3] For searchpath {GAC}
[16:13:51][Step 3/3] Considered Xamarin.Android.Support.v4, but could not find in the GAC.
[16:13:51][Step 3/3] For searchpath {RawFileName}
[16:13:51][Step 3/3] For searchpath bin/Debug/
[16:13:51][Step 3/3] /Library/Frameworks/Mono.framework/Versions/3.2.6/lib/mono/4.0/Microsoft.Common.targets: warning : Reference 'Xamarin.Android.Support.v7.AppCompat' not resolved
[16:13:51][Step 3/3] For searchpath {CandidateAssemblyFiles}
[16:13:51][Step 3/3] Warning: {CandidateAssemblyFiles} not supported currently
[16:13:51][Step 3/3] For searchpath {HintPathFromItem}
[16:13:51][Step 3/3] Considered ../Components/googleplayservicesgingerbread-13.0/lib/android/Xamarin.Android.Support.v7.AppCompat.dll, but it does not exist.
[16:13:51][Step 3/3] For searchpath {TargetFrameworkDirectory}
[16:13:51][Step 3/3] Considered target framework dir /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.0.3, assembly named 'Xamarin.Android.Support.v7.AppCompat' not found.
[16:13:51][Step 3/3] Considered target framework dir /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0, assembly named 'Xamarin.Android.Support.v7.AppCompat' not found.
[16:13:51][Step 3/3] Considered target framework dir /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/, assembly named 'Xamarin.Android.Support.v7.AppCompat' not found.
[16:13:51][Step 3/3] For searchpath {PkgConfig}
[16:13:51][Step 3/3] Considered Xamarin.Android.Support.v7.AppCompat, but could not find in any pkg-config files.
[16:13:51][Step 3/3] For searchpath {GAC}
[16:13:51][Step 3/3] Considered Xamarin.Android.Support.v7.AppCompat, but could not find in the GAC.
[16:13:51][Step 3/3] For searchpath {RawFileName}
[16:13:51][Step 3/3] For searchpath bin/Debug/
从日志中看来,您没有正确安装单声道。
您是否根据以下文章进行安装?
http://docs.xamarin.com/guides/android/getting_started/installation/mac/