zyra / cordova-plugin-stripe

A Cordova plugin that lets you use Stripe's Native SDKs for Android and iOS.
MIT License
93 stars 57 forks source link

Issue with 1.5.3 version. processDebugManifest error when i add plugin and build the project #29

Open ceskomira90 opened 7 years ago

ceskomira90 commented 7 years ago

FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':processDebugManifest'.
    > 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 <meta-data> element at AndroidManifest.xml:25:5-27:34 to
    override.

When i build with android the error shows up in the console. If i remove this plugin, the build is ok.

A workaround is to downgrade this plugin to 1.4.1.

Versions: Ionic 3.5.0 Cordova: 7.0.1