Capacitor: Android dependency 'com.android.support:customtabs' has different version for the compile

Created on 28 Feb 2018  ·  6Comments  ·  Source: ionic-team/capacitor

Error:Execution failed for task ':app:preDebugBuild'.

Android dependency 'com.android.support:customtabs' has different version for the compile (26.1.0) and runtime (27.0.2) classpath. You should manually set the same version via DependencyResolution

All 6 comments

Which plugin are you using?
Right now Capacitor with take the default version from the plugin.xml and not the one from config.xml/package.json if you have one set.
Capacitor uses 26.1.0 version appcompat. You can change it to 27.0.2 in the app build.gradle, but using 27.x.x will also require to compile using SDK 27.

@mlynch we should make that configurable somehow?

I use onesignal plugin

I already solved it, it was a problem of versions

Was it something you did or we did?

@edy-ap how did you solve?

+1 @edy-ap how did you solve?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gnesher picture gnesher  ·  3Comments

mlynch picture mlynch  ·  3Comments

alexcroox picture alexcroox  ·  3Comments

daniel-lucas-silva picture daniel-lucas-silva  ·  3Comments

Hansel03 picture Hansel03  ·  3Comments