相关疑难解决方法(0)

使用Google Play服务构建Xamarin.Android项目时出错

我正在开发一个最低目标版本为ICS的Android项目,因此我从Xamarin组件商店下载了Google Play Services ICS组件(版本18.0.0.1).在添加对它包含的4个dll的引用之后,我无法构建项目,因此我必须在我的项目中调整目标android版本,如此线程中所述.我目前的设置是:

使用Android版本进行编译:API级别17最低Android到目标:API级别14目标Android版本:API级别17

但是,构建过程仍然失败,并出现以下错误:

2>JAVAC : warning : com\google\ads\mediation\MediationBannerListener.class(com\google\ads\mediation:MediationBannerListener.class): major version 51 is newer than 50, the highest major version supported by this compiler.
2>JAVAC : warning : com\google\ads\mediation\MediationBannerAdapter.class(com\google\ads\mediation:MediationBannerAdapter.class): major version 51 is newer than 50, the highest major version supported by this compiler.
2>JAVAC : warning : com\google\ads\AdRequest.class(com\google\ads:AdRequest.class): major version 51 is newer than 50, the highest major version supported by this compiler.
2>JAVAC : warning : com\google\ads\AdRequest$ErrorCode.class(com\google\ads:AdRequest$ErrorCode.class): major version 51 is newer than 50, …
Run Code Online (Sandbox Code Playgroud)

android xamarin.android xamarin google-play-services

6
推荐指数
1
解决办法
2323
查看次数