I am getting this error:
ERROR: Failed to resolve: com.github.bumptech.glide:okhttp3-integration:1.6.0-SNAPSHOT
Show in Project Structure dialog
Affected Modules: app
I tried adding stories library into my app and this happened.
The library is Status Stories
The other library for image loading is from bumptech.
My build.gradle(Module: app) file also it says that it cannot be synced:
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion '28.0.3'
defaultConfig {
applicationId "com.ozurak.mk"
minSdkVersion 19
targetSdkVersion 26
versionCode 1476
versionName "1.4.7.6"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
checkReleaseBuilds false
abortOnError false
ignoreWarnings true //false
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
//Intro Screen
implementation 'agency.tango.android:material-intro-screen:0.0.5'
//scrolling tab hide top
//noinspection GradleCompatible
implementation 'com.android.support:design:26.1.0'
implementation 'com.github.ksoichiro:android-observablescrollview:1.6.0'
//emoji disabler
implementation 'com.xw.repo:xedittext:2.1.0#aar'
//firebase
implementation 'com.google.firebase:firebase-storage:10.0.1'
implementation 'com.google.firebase:firebase-auth:10.0.1'
implementation 'com.google.firebase:firebase-database:10.0.1'
//android
implementation 'com.android.support:recyclerview-v7:26.+'
implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'com.android.support:appcompat-v7:26.+'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.android.support:design:26.1.0'
//circle image view
implementation 'de.hdodenhof:circleimageview:2.2.0'
//like button
implementation 'com.github.jd-alexander:LikeButton:0.2.3'
//image loader
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
//ExifInterface support
implementation "com.android.support:exifinterface:26.+"
//image picker
implementation 'com.github.nguyenhoanglam:ImagePicker:1.2.1'
//button
implementation 'com.beardedhen:androidbootstrap:2.3.2'
//image loader
implementation 'com.github.bumptech.glide:glide:4.9.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
//image scroll 7/8/2018
implementation 'com.github.Q42:AndroidScrollingImageView:1.3.3'
//dropdown list
implementation 'com.github.JayFang1993:DropDownMenu:v0.9'
//zoom
implementation 'com.ablanco.zoomy:zoomy:1.1.0'
//stories
implementation 'com.github.RahulJanagouda:StatusStories:1.0.1'
testImplementation 'junit:junit:4.12'
}
apply plugin: 'com.google.gms.google-services'
Related
apply plugin: 'com.android.application'
android {
compileSdkVersion 30
buildToolsVersion = '32.1.0 rc1'
defaultConfig {
applicationId "com.example.andrd_ado_vdo_tkbk_demo"
minSdkVersion 17
// minSdkVersion 14 the emoji lib will not work
//minSdkVersion 9
targetSdkVersion 30
multiDexEnabled true
versionCode 1
versionName "2022.01.09"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
buildTypes {
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'com.android.support.constraint:constraint-layout:2.0.4'
testImplementation 'junit:junit:4.13.2'
implementation 'com.squareup.okhttp3:okhttp:3.12.2'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'io.paperdb:paperdb:2.7.1'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.google.android.gms:play-services:11.8.0'
implementation 'com.google.android.gms:play-services-maps:11.8.0'
implementation 'io.nlopez.smartlocation:library:3.3.3'
implementation 'com.android.support:multidex:1.0.3'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.google.android.gms:play-services-auth:11.4.2'
implementation 'com.google.firebase:firebase-auth:11.4.2'
implementation 'com.google.firebase:firebase-config:11.4.2'
implementation 'com.google.firebase:firebase-database:11.4.2'
implementation 'com.google.firebase:firebase-messaging:11.4.2'
implementation 'com.google.firebase:firebase-analytics:11.4.2'
implementation 'com.google.firebase:firebase-storage:11.4.2'
implementation 'com.google.firebase:firebase-invites:11.4.2'
implementation 'com.google.firebase:firebase-crash:11.4.2'
implementation 'com.afollestad.material-dialogs:core:0.9.1.0'
implementation 'de.hdodenhof:circleimageview:2.1.0'
implementation 'com.miguelcatalan:materialsearchview:1.4.0'
implementation 'com.jakewharton.rxrelay:rxrelay:1.2.0'
testImplementation('junit:junit:4.12')
implementation project(':emoticon')
}
apply plugin: 'com.google.gms.google-services'
I'm facsing this error whenever I try to run my android application:
Duplicate class android.support.v13.view.DragAndDropPermissionsCompat found in modules support-compat-28.0.0-runtime (com.android.support:support-compat:28.0.0) and support-v13-25.0.0-runtime (com.android.support:support-v13:25.0.0) Duplicate class android.support.v13.view.DragStartHelper found in modules support-compat-28.0.0-runtime (com.android.support:support-compat:28.0.0) and support-v13-25.0.0-runtime (com.android.support:support-v13:25.0.0) ..etc
I'm not sure what is the source of these errors since i'm not using any of these libraries. initially I had more of these errors but then removed the following:
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:support-v4:25.0.0'
This is my Gradle file and it gives unable to merge dex error and cant run my app can any one solve it please???????I'm trying to run my project, but for some reason it gives me that error
Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.ahmed.farid.gonerve"
minSdkVersion 21
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
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'
//Design library for Coordinator Layout and Toolbars
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support:support-v4:27.1.1'
//BottomNavigationViewEx library
implementation 'com.github.ittianyu:BottomNavigationViewEx:1.2.4'
//Circle ImageView
implementation 'de.hdodenhof:circleimageview:2.1.0'
//Universal image loader
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
implementation 'com.github.danylovolokh:video-player-manager:0.2.0'
implementation 'com.google.code.findbugs:jsr305:2.0.1'
implementation 'uk.co.chrisjenx:calligraphy:2.3.0'
implementation 'com.rengwuxian.materialedittext:library:2.1.4'
implementation 'com.firebase:geofire-android:2.1.1'
implementation 'com.github.glomadrian:MaterialAnimatedSwitch:1.1#aar'
//Design library for Coordinator Layout and Toolbars
//BottomNavigationViewEx library
implementation'com.android.support:cardview-v7:27.1.1'
implementation 'com.google.guava:guava:27.0-android'
//noinspection GradleCompatible
//firebase
implementation 'com.google.firebase:firebase-core:11.0.2'
//firebase auth
implementation 'com.google.firebase:firebase-auth:11.0.2'
implementation 'com.google.firebase:firebase-database:11.0.2'
implementation 'com.google.firebase:firebase-storage:11.0.2'
implementation 'com.google.android.gms:play-services-location:11.0.2'
implementation 'com.google.android.gms:play-services-maps:11.0.2'
implementation 'com.google.android.gms:play-services:11.0.2'
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.android.support:recyclerview-v7:27.1.1'
}
apply plugin: 'com.google.gms.google-services'
Try this in
android/build.gradle
android {
defaultConfig {
multiDexEnabled true
}
}
I am working in a company project and there is a requirement to integrate Dynamsoft Android SDK for document scanning purpose. This problem is, when the sdk dependency is added to the current project, it get clashes with okhttp3 while giving this error on Build-console :
**Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Program type already present: okhttp3.Address
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.**
As it suggests in Developer console, okhttp3 has been excluded(actually tried in manifold ways) from Dynamsoft dependency yet problem remains.
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
buildToolsVersion "28.0.2"
compileSdkVersion 28
defaultConfig {
applicationId "no.aspit.capture"
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
dev {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
}
}
lintOptions {
abortOnError false
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
packagingOptions {
exclude 'okhttp3/internal/publicsuffix/publicsuffixes.gz'
}
}
kotlin {
experimental {
coroutines 'enable'
}
}
androidExtensions {
experimental = true
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.0.0-rc02'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.cardview:cardview:1.0.0-rc02'
implementation 'androidx.core:core-ktx:1.0.0-rc02'
implementation "android.arch.work:work-runtime-ktx:1.0.0-alpha08"
implementation 'androidx.preference:preference:1.0.0-rc02'
implementation 'androidx.fragment:fragment-ktx:1.0.0-rc02'
implementation 'androidx.legacy:legacy-support-v4:1.0.0-rc02'
implementation 'com.google.android.material:material:1.0.0-rc01'
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0'
implementation 'com.squareup.moshi:moshi-kotlin:1.6.0'
implementation 'com.squareup.retrofit2:converter-moshi:2.4.0'
kapt 'com.squareup.moshi:moshi-kotlin-codegen:1.6.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.github.ittianyu:BottomNavigationViewEx:1.2.4'
//noinspection GradleCompatible
implementation "com.android.support:design:26.1.0"
implementation 'com.squareup.picasso:picasso:2.71828'
//Joda time
implementation 'net.danlew:android.joda:2.9.9.4'
// Image Compression
implementation 'id.zelory:compressor:2.1.0'
//Stetho
implementation 'com.facebook.stetho:stetho:1.5.0'
implementation 'com.facebook.stetho:stetho-okhttp3:1.5.0'
//Dynumsoft
implementation ('com.dynamsoft:dynamsoftcamerasdk:2.0#aar'){
exclude group: 'com.squareup.okhttp3'
}
}
repositories {
maven {
url "http://download.dynamsoft.com/maven/dcs"
}
You can try to solve the conflicts as follows:
configurations.all {
all*.exclude group: 'com.squareup.okhttp3', module: 'okhttp'
all*.exclude group: 'com.squareup.okio', module: 'okio'
resolutionStrategy.force 'com.squareup.okhttp3:okhttp:3.10.0'
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.0.0-rc02'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.cardview:cardview:1.0.0-rc02'
implementation 'androidx.core:core-ktx:1.0.0-rc02'
implementation "android.arch.work:work-runtime-ktx:1.0.0-alpha08"
implementation 'androidx.preference:preference:1.0.0-rc02'
implementation 'androidx.fragment:fragment-ktx:1.0.0-rc02'
implementation 'androidx.legacy:legacy-support-v4:1.0.0-rc02'
implementation 'com.google.android.material:material:1.0.0-rc01'
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0'
implementation 'com.squareup.moshi:moshi-kotlin:1.6.0'
implementation 'com.squareup.retrofit2:converter-moshi:2.4.0'
kapt 'com.squareup.moshi:moshi-kotlin-codegen:1.6.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.github.ittianyu:BottomNavigationViewEx:1.2.4'
//noinspection GradleCompatible
implementation "com.android.support:design:26.1.0"
implementation 'com.squareup.picasso:picasso:2.71828'
//Joda time
implementation 'net.danlew:android.joda:2.9.9.4'
// Image Compression
implementation 'id.zelory:compressor:2.1.0'
//Stetho
implementation 'com.facebook.stetho:stetho:1.5.0'
implementation 'com.facebook.stetho:stetho-okhttp3:1.5.0'
//Dynumsoft
implementation ('com.dynamsoft:dynamsoftcamerasdk:2.0#aar')
}
I started getting the below error
Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
I tried to reset my backup when it was working but the same problem
I tried all the solution such as
multiDexEnabled true
cleaning and rebuilding the project, but it didn't work. Any help will be appreciated.
App file
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion '27.0.2'
defaultConfig {
applicationId "com.example"
minSdkVersion 18
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true
resConfigs "auto"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
ext {
supportLibraryVersion = '27.0.2'
grpcVersion = '1.4.0'
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile 'junit:junit:4.12'
testImplementation 'junit:junit:4.12'
//appcompat libraries
compile 'com.android.support:design:27.0.2'
compile 'com.android.support:appcompat-v7:27.0.2'
implementation 'com.android.support:support-v4:27.1.0'
//butterknife
compile 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
//retrofit
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.1.0'
implementation 'com.squareup.okhttp3:okhttp:3.8.0'
implementation 'com.jakewharton.retrofit:retrofit1-okhttp3-client:1.0.2'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.scottyab:aes-crypto:0.0.4'
//circleimageview
implementation 'de.hdodenhof:circleimageview:2.2.0'
//ZXing for barCode reader
compile 'com.journeyapps:zxing-android-embedded:3.2.0#aar'
compile 'com.google.zxing:core:3.2.1'
//gson
compile 'com.google.code.gson:gson:2.8.2'
//recyclerview and cardview
implementation 'com.android.support:cardview-v7:27.0.2'
compile 'com.android.support:recyclerview-v7:+'
//play-services
compile 'com.google.android.gms:play-services-maps:11.8.0'
implementation 'com.github.bumptech.glide:glide:4.3.1'
implementation 'com.jaeger.statusbarutil:library:1.4.0'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
compile 'com.android.support:support-annotations:27.0.2'
compile 'com.wang.avi:library:2.1.3'
}
Project file
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
I had looked at many other questions and answers on here but cannot seem to find a solution that will rectify the problem :(
I have solved after try all the solutions on stackoverflow, try to do the following steps in its order
Replace all compile with implementation
Make all supportLibraryVersion = '27.0.2'
Change
'com.google.android.gms:play-services-maps:11.8.0'
to
'com.google.android.gms:play-services-maps:11.4.0'
Remove all the unused library
Delete the .gradle folder inside your project
Remove build folders and the gradle cache
file -> invalidate caches/restart
Build > Clean Project
Add
dependencies { implementation 'com.android.support:multidex:1.0.1'}
Add
android {
defaultConfig {
multiDexEnabled true
}
}
Async project
And finally this is my App file
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.example"
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'
}
}
}
ext {
supportLibraryVersion = '27.0.2'
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
implementation 'com.android.support:support-v4:27.0.2'
implementation 'com.android.support:appcompat-v7:27.0.2'
implementation 'com.android.support:design:27.0.2'
//constraint
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
//butterknife
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
//avi:library
implementation 'com.wang.avi:library:2.1.3'
//circleimageview
implementation 'de.hdodenhof:circleimageview:2.2.0'
//retrofit2
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.1.0'
implementation 'com.squareup.okhttp3:okhttp:3.8.0'
implementation 'com.jakewharton.retrofit:retrofit1-okhttp3-client:1.0.2'
//recyclerview and cardview
implementation 'com.android.support:recyclerview-v7:27.0.2'
implementation 'com.android.support:cardview-v7:27.0.2'
//ZXing for barCode reader
implementation 'com.journeyapps:zxing-android-embedded:3.2.0#aar'
implementation 'com.google.zxing:core:3.2.1'
//play-services
implementation 'com.google.android.gms:play-services-maps:11.4.0'
//gson
implementation 'com.google.code.gson:gson:2.8.2'
//statusbarutil
implementation 'com.jaeger.statusbarutil:library:1.4.0'
//glide
implementation 'com.github.bumptech.glide:glide:4.6.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.6.1'
//multidex
implementation 'com.android.support:multidex:1.0.1'
}
ِِActually I didn't understand the real reason about it and why that happened suddenly
So if anyone know that please tell me with full details
I hope this will help you
this worked for me after couple of hours wasting time
just do this
Implementation >>> annotationProcessor
I updated sdk to 27.1.0 but now i want to downgrade to 27.0.2
My build.gradle contains these lines:
apply plugin: 'com.android.application'
apply plugin: 'org.greenrobot.greendao'
apply plugin: 'project-report'
android {
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "cz.my.package"
minSdkVersion 19
targetSdkVersion 27
versionCode 73
versionName "1.1.5"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
greendao {
schemaVersion 6
}
dependencies {
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'
})
implementation 'com.android.support:appcompat-v7:27.0.2'
implementation 'com.android.support:support-v4:27.0.2'
implementation 'com.android.support:design:27.0.2'
implementation 'com.android.support:recyclerview-v7:27.0.2'
implementation 'com.google.android.gms:play-services-maps:11.8.0'
implementation 'com.google.firebase:firebase-messaging:11.8.0'
implementation 'com.github.bumptech.glide:glide:4.0.0'
implementation 'com.jakewharton:butterknife:8.8.1'
implementation 'de.hdodenhof:circleimageview:2.1.0'
implementation 'org.apmem.tools:layouts:1.10#aar'
implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.6.0'
implementation 'com.thoughtbot:expandablerecyclerview:1.3'
implementation 'in.championswimmer:SimpleFingerGestures_Android_Library:1.2'
implementation 'org.greenrobot:greendao:3.2.2'
implementation 'com.kyleduo.switchbutton:library:2.0.0'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.6.0'
implementation 'cz.martinforejt:swipetohidelayout:1.0.4'
implementation 'org.apache.commons:commons-lang3:3.4'
testImplementation 'junit:junit:4.12'
annotationProcessor 'com.github.bumptech.glide:compiler:4.0.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
implementation files('libs/YouTubeAndroidPlayerApi.jar')
implementation 'org.jetbrains:annotations-java5:15.0'
}
apply plugin: 'com.google.gms.google-services'
But android studio says, that it founds some lib with version 27.1.0 and all must have same version.
Another problem is that i cant find 27 folder inside sdk/extras/android/m2repository/com/android/support/
How can i downgrade support libraries?