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

Problem solved!!

Thanks to ionic forum thread “how to ask question” and I used the googling skill to find out this => https://stackoverflow.com/questions/42949974/android-support-repo-46-0-0-with-android-studio-2-3

Then, I somehow realize that the build.gradle file exists in project-folder/platforms/android. So I added this code snippet to end of the gradle file. It worked magically!

configurations.all {
    resolutionStrategy.eachDependency { DependencyResolveDetails details ->
        def requested = details.requested
        if (requested.group == 'com.android.support') {
            if (!requested.name.startsWith("multidex")) {
                details.useVersion '25.3.1'
            }
        }
    }
}
42 Likes