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.