cordova-plugin-stripe 1.5.3 manifest merger will fail with update to com.support.android to 26.0.0

If you’ve recently upgraded your Android SDK and end up getting these errors in your Ionic/Cordova projects, you may need to install the cordova-android-support-gradle-release plugin (via cordova plugin add):

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

More info on cordova-android-support-gradle-release plugin: https://github.com/dpa99c/cordova-android-support-gradle-release

In this particular case with the Stripe plugin, it specifies 25.3.1 com.android.support in its build.gradle. The above plugin will handle the conflicting release versions as pointed out by the build error message.

*     *     *

Visit GameSlush for a quick break from work.

0 thoughts on “cordova-plugin-stripe 1.5.3 manifest merger will fail with update to com.support.android to 26.0.0”

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: