2014-02-05 63 views
0

我想使用xbuild在mac os box上使用命令行構建 - 構建是針對android,該應用包含對'GooglePlayServicesLib','Xamarin.Android.Support.v4'的引用,和其他一些圖書館。xbuild,googleplayservices - 錯誤

但是,當應用程序試圖構建它時無法解析這些引用,我已經列出了下面的代碼片段。 我可以看到它試圖在幾個地方搜索它,但不是Android SDK管理器部署庫的位置。我想我需要以某種方式指定它在正確的位置進行搜索。

有人請告訴我
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/ 

回答

相關問題