问题
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