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

danielsogl picture danielsogl  路  3Comments

stripathix picture stripathix  路  3Comments

moberwasserlechner picture moberwasserlechner  路  3Comments

peterpeterparker picture peterpeterparker  路  3Comments

peterpeterparker picture peterpeterparker  路  3Comments