Coloquei essa versão do constraint layout
implementation group: 'com.android.support.constraint', name: 'constraint-layout', version: '2.0.0-beta1'
compilou certinho, porém apareceu esse erro
C:\Users\Fernando.gradle\caches\transforms-2\files-2.1\2ad9bfadafd430f8dbad1412b3cf8d16\appcompat-v7-28.0.0\res\values-v28\values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.
Segue o gradle:
apply plugin: 'com.android.application'
android {
signingConfigs {
config {
}
}
compileSdkVersion 27
defaultConfig {
applicationId "br.com.mercado.web.activity"
minSdkVersion 18
targetSdkVersion 27
versionCode 1
versionName "1.0"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
}
}
}
repositories {
jcenter()
maven {
url "https://jitpack.io"
}
maven {
url "https://repo.eclipse.org/content/repositories/paho-snapshots/"
}
}
configurations {
all*.exclude group: 'com.google.android', module: 'support-v4'
//Or crude, there is no pit above all*.exclude module: 'support-v4'
}
dependencies {
implementation 'com.github.sharish:creditcardview:v1.0.4'
implementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:support-v4:27.1.1'
implementation 'com.google.android.gms:play-services:9.6.0'
implementation 'com.android.support:design:27.1.1'
implementation 'de.hdodenhof:circleimageview:2.0.0'
implementation 'com.facebook.android:facebook-android-sdk:4.15.0'
implementation 'com.google.code.gson:gson:2.8.2'
testImplementation 'junit:junit:4.12'
implementation 'com.github.rtoshiro.mflibrary:mflibrary:1.0.0'
implementation group: 'javax.servlet', name: 'javax.servlet-api', version: '3.1.0'
implementation 'com.github.wednesday-solutions:CreditCardEditText:+@aar'
implementation group: 'com.yy', name: 'android-util', version: '1.0.2'
implementation 'com.vinaygaba:creditcardview:1.0.2'
implementation group: 'com.android.support.constraint', name: 'constraint-layout', version: '2.0.0-beta1'
}
Atenciosamente,