构建离子2应用程序时出错 - Admob插件

时间:2017-12-17 19:04:47

标签: android cordova ionic-framework build admob

我正在尝试构建我的离子2应用程序(sudo ionic cordova build android)但是我收到以下错误:

Found com.google.android.gms:play-services-base:11.0.4, but version 9.0.0 is needed for the google-services plugin.
Found com.google.android.gms:play-services-ads:11.0.4, but version 9.0.0 is needed for the google-services plugin.
:processDebugGoogleServices
FAILED

我还分享了在构建操作期间出现的以下消息。它确实让我怀疑:

google-services plugin could not detect any version for com.google.android.gms or com.google.firebase, default version: 9.0.0 will be used.
please apply google-services plugin at the bottom of the build file.

我的应用程序有所有插件:

com-sarriaroman-photoviewer 1.1.11 "PhotoViewer"
cordova-admob-sdk 0.13.1 "AdMob SDK"
cordova-plugin-admob-free 0.13.0 "Cordova AdMob Plugin"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-fcm 2.1.2 "FCMPlugin"
cordova-plugin-ionic-webview 1.1.16 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-whitelist 1.3.1 "Whitelist"
cordova-promise-polyfill 0.0.2 "cordova-promise-polyfill"
ionic-plugin-keyboard 2.2.1 "Keyboard"

我必须说在添加“Cordova AdMob插件”插件后出现此错误消息。

任何人都可以帮我解决这个问题吗?我被困住了,我不知道如何解决这个问题。

如果您需要更多信息,请与我们联系。

非常感谢你的帮助

0 个答案:

没有答案