[SOLVED] Ionic run android - com.android.support conflicting v26-alpha1 and v25.3.1

It’s working for me! thx

Thank you very much. Works for me.

It’s work for me too!!

Thank you so much

That saved me so much
Thanks. But are you sure its not gonna affect the app in production

In order to prevent android support v28 from being used (which caused this issue) I used

cordova plugin add cordova-android-support-gradle-release --variable ANDROID_SUPPORT_VERSION=27.0.0

Writing in build.gradle did the trick too, but as platform/android is built dynamically I preferred the 1st solution.

1 Like

not the best solution-> you can use this plugin which will fix the merger failed error
cordova plugin add cordova-android-support-gradle-release --variable ANDROID_SUPPORT_VERSION=25.+

2 Likes

follow this step
step 1: cordova plugin add cordova-android-support-gradle-release
step 2: cordova clean android
step 3: ionic cordova build android

5 Likes

Works for me in camera-preview and qrscanner plugins , the other solutions don´t work.
Thanks

What version did you replace instead of the 25.3.1 stated in this snippet? How do I check what version I need to replace mine with? Your help will be most appreciated! Thank you.

thanks it work for me

Your sollution worked for me. Thank you very much

1 Like

this is the real solution

Thank you so much it worked like a magic :slight_smile: