Android Fragments Tutorial: An Introduction with Kotlin

On first import I am getting errors and canโ€™t proceed.

Data Binding annotation processor version needs to match the Android Gradle Plugin version. You can remove the kapt dependency com.android.databinding:compiler:3.0.0-beta2 and Android Gradle Plugin will inject the right version.

Removing the kapt line results in another error about the Manifest.

Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.1) from [com.android.support:appcompat-v7:26.0.1] AndroidManifest.xml:28:13-35 is also present at [com.android.support:recyclerview-v7:26.1.0] AndroidManifest.xml:25:13-35 value=(26.1.0). Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:26:9-28:38 to override.

So then I added the meta-data and now

Manifest merger failed with multiple errors, see logs