【问题标题】:xbuild , googleplayservices - errorsxbuild , googleplayservices - 错误
【发布时间】:2014-02-05 17:58:20
【问题描述】:

我正在尝试使用 xbuild 在 mac os 框上使用命令行进行构建 - 该构建适用于 android,该应用程序包含对“GooglePlayServicesLib”、“Xamarin.Android.Support.v4”和其他一些库的引用.

但是,当应用程序尝试构建它时无法解析这些引用,我在下面列出了 sn-p。 我可以看到它正在尝试在几个地方搜索它,但不是 Android SDK 管理器部署库的地方。我想我需要以某种方式指定它在正确的位置进行搜索。

谁能告诉我
一种。如果我的假设是正确的
湾。如何强制构建过程在正确的位置进行搜索。

问候 拉杰什

[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/

【问题讨论】:

    标签: android google-play-services xbuild search-path


    【解决方案1】:

    从日志看来您没有正确安装 Mono.Android。

    你是按照下面的文章安装的吗?

    http://docs.xamarin.com/guides/android/getting_started/installation/mac/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-11-01
      • 1970-01-01
      • 2013-07-17
      • 2018-03-19
      • 1970-01-01
      • 2011-11-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多