What went wrong:
Execution failed for task ':app:preDebugBuild'.
Android dependency 'com.android.support:support-v4' has different version for the compile (26.1.0) and runtime (27.1.0) classpath. You should manually set the same version via DependencyResolution
thanks for your attention!