Pushwoosh / pushwoosh-phonegap-plugin

Pushwoosh PhoneGap Build Plugin
Other
109 stars 139 forks source link

Android build fails. Apparent conflict with other plugins #254

Closed rhengles closed 7 years ago

rhengles commented 7 years ago

I'm having this problem using this plugin together with cordova-plugin-facebook4 v1.9.1:

:processReleaseManifest/project/AndroidManifest.xml:27:9-38 Error:
    Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38
    is also present at [com.android.support:appcompat-v7:25.3.1] AndroidManifest.xml:27:9-31 value=(25.3.1).
    Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:25:5-27:41 to override.

This came up when I upgraded cordova-plugin-facebook4 from v1.7.4 to v1.9.1.

I tracked this down and found this: https://github.com/jeduan/cordova-plugin-facebook4/issues/507

I forked this project and changed this on plugin.xml:

-       <framework src="com.android.support:support-v4:+" />
+       <framework src="com.android.support:support-v4:25.+" />

And then my project on Phonegap Build ran successfully!

DimanAM commented 7 years ago

Fixed in 6.5.3