Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230087

Android build

$
0
0

I got this same error. In my case I previously had to mess with resolving multiple plugins needing multiple versions of support-v4. As @goinnn noted, one option to fix that is the cordova-android-support-gradle-release plugin, to pin to a specific version. I personally added a build-extras.gradle (with a hook) to do something similar (below). For some reason I was completely fine doing 26+ for the version for quite a while. Now that breaks for me, but forcing it to 26.0+ seems to work. I’m guessing the 26.1.0 release (which is the latest that fits 26.+) isn’t published quite the same as 26.0.2, and thus can’t be found.

configurations.all {
    resolutionStrategy {
        force 'com.android.support:support-v4:26+'
    }
}

Viewing all articles
Browse latest Browse all 230087

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>