Phonegap Build - Error Plugin with id 'com.google.gms.google-services' not found

眉间皱痕 提交于 2019-12-25 00:21:31

问题


My build got failed if i include both push notification and google plus plugin.

I am building the app using Phonegap Build. I have included push plugin as well as google plus plugin. There is a conflict between both plugins.

Here is my config xml:

<plugin name="cordova-android-play-services-gradle-release"/>
<plugin name="cordova-plugin-googleplus" spec="5.2.1">
   <param name="REVERSED_CLIENT_ID" value="com.googleusercontent.apps.2445455956-8dfgs87asd5asd4a5sdasd4j"/>
   <param name="PLAY_SERVICES_VERSION" value="16.+"/>
</plugin>
<plugin name="phonegap-plugin-push" spec="2.1.2">
    <param name="PLAY_SERVICES_VERSION" value="16.+"/>
</plugin> 

<preference name="phonegap-version" value="cli-8.0.0"/>
<platform name="android">
    <allow-intent href="market:*" />
    <preference name="android-minSdkVersion" value="16"/>
    <preference name="android-targetSdkVersion" value="26"/>
<platform>

Here is my error :

I am missing anything? Thanks.

来源:https://stackoverflow.com/questions/54322692/phonegap-build-error-plugin-with-id-com-google-gms-google-services-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!