Open giovankabisano opened 6 years ago
I get so many error. Can you help me?
Here is my Gradle(Module:app)
apply plugin: 'com.android.application'
android { compileSdkVersion 27 buildToolsVersion "27.0.3"
defaultConfig {
applicationId "tiledesk.android"
minSdkVersion 19
targetSdkVersion 22
versionCode 16
versionName "1.0.10"
multiDexEnabled true
}
dexOptions {
javaMaxHeapSize "4g"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
exclude 'META-INF/license.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/DEPENDENCIES'
}
}
dependencies { compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:multidex:1.0.1'
compile 'com.android.support:appcompat-v7:27.0.2'
compile 'com.android.support:design:27.0.2'
compile 'com.android.support:cardview-v7:27.0.2'
compile "com.google.android.gms:play-services:11.8.0"
compile 'com.github.bumptech.glide:glide:3.8.0' // image loading
compile project(':chat')
}
configurations.all { resolutionStrategy.eachDependency { DependencyResolveDetails details -> def requested = details.requested if (requested.group == 'com.android.support') { if (!requested.name.startsWith("multidex")) { details.useVersion '26.1.0' } } } }
apply plugin: 'com.google.gms.google-services'
You can try to remark this : //compile project(':chat')
And this is my dependencies : dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'com.android.support.constraint:constraint-layout:1.1.2'
compile 'org.chat21.android:chat21:1.0.10' compile 'com.vanniktech:emoji-ios:0.5.1'
compile 'com.android.support:multidex:1.0.1'
compile 'com.android.support:appcompat-v7:27.+' compile 'com.android.support:design:27.+' compile 'com.android.support:cardview-v7:27.+' compile "com.google.android.gms:play-services:11.8.0"
compile 'com.github.bumptech.glide:glide:3.8.0' // image loading
testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
It's worked on me.
Thanks, that solve my problem
@dikixeranta The solution worked for me, Thanks.
When i clone this application from my Android Studio program, some errors occur.