Please can you help me to solve this problem, I don't know where is the problem I have all the updates
The problem:
All com.android.support libraries must use the exact same version
specification (mixing versions can lead to runtime crashes). Found
versions 28.0.0, 27.0.2. Examples include
com.android.support:animated-vector-drawable:28.0.0 and
com.android.support:customtabs:27.0.2 less... (Ctrl+F1) Inspection
info:There are some combinations of libraries, or tools and libraries,
that are incompatible, or can lead to bugs. One such incompatibility
is compiling with a version of the Android support libraries that is
not the latest version (or in particular, a version lower than your
targetSdkVersion). Issue id: GradleCompatible
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.el.sohaib.babysitter"
minSdkVersion 22
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:animated-vector-drawable:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.facebook.android:facebook-android-sdk:[5,6)'
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'
//the erreur implementation 'com.android.support:design:28.0.0'
}
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.el.sohaib.babysitter"
minSdkVersion 22
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:animated-vector-drawable:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.facebook.android:facebook-android-sdk:[5,6)'
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'
implementation 'com.android.support:design:28.0.0'
}
This warning is shown because the Facebook sdk uses older versions of support libraries. It doesn't goes well this the newer version (28.0.0) that you are using in your project.
The Solution is to exclude all older versions of libraries used in Facebook sdk:
implementation ('com.facebook.android:facebook-android-sdk:[5,6)') {
exclude group: 'com.android.support', module: 'cardview-v7'
exclude group: 'com.android.support', module: 'customtabs'
exclude group: 'com.android.support', module: 'support-media-compat'
exclude group: 'com.android.support', module: 'support-v4'
}
Excluding dependencies can causes run-time crashes because the library shall be calling functions in those excluded libraries.
Now you need to provide newer versions of all those libraries in your dependencies
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.android.support:customtabs:28.0.0'
implementation 'com.android.support:support-media-compat:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
Here is my complete build.gradle file:
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.example.myapplication"
minSdkVersion 19
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
/**
* Providing newer versions of those libs
*/
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.android.support:customtabs:28.0.0'
implementation 'com.android.support:support-media-compat:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
/**
* Excluding older libs
*/
implementation ('com.facebook.android:facebook-android-sdk:[5,6)') {
exclude group: 'com.android.support', module: 'cardview-v7'
exclude group: 'com.android.support', module: 'customtabs'
exclude group: 'com.android.support', module: 'support-media-compat'
exclude group: 'com.android.support', module: 'support-v4'
}
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'
}
Related
I have generated a signed apk and given to client.Next time when i build apk using same signed apk .While installing it is showing as App not installed.Someone please tell me why is it so
Please find my gradle code.The version code was 1 and version name was 1.1 for previous build
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "net.abc.test"
minSdkVersion 21
targetSdkVersion 28
versionCode 2
versionName "1.1"
vectorDrawables.useSupportLibrary = true
multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
configurations {
all {
exclude group: 'org.json', module: 'json'
}
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
exclude 'META-INF/rxjava.properties'
exclude 'META-INF/proguard/androidx-annotations.pro'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.google.android.material:material:1.2.0-alpha02'
implementation 'com.android.support:design:28.0.0'
implementation 'uk.co.chrisjenx:calligraphy:2.3.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'com.miguelcatalan:materialsearchview:1.4.0'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.android.volley:volley:1.1.1'
implementation 'com.google.android:flexbox:0.3.0'
implementation 'net.gotev:uploadservice:3.0.3'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'joda-time:joda-time:2.9.9'
implementation 'com.github.mabbas007:TagsEditText:1.0.5'
implementation 'com.google.firebase:firebase-messaging:17.4.0'
implementation 'com.kbeanie:multipicker:1.1.31#aar'
implementation('com.amazonaws:aws-android-sdk-mobile-client:2.6.27') { transitive = true }
implementation 'com.amazonaws:aws-android-sdk-s3:2.7.4'
implementation 'com.amazonaws:aws-android-sdk-cognito:2.6.27'
implementation 'it.michelelacorte.elasticprogressbar:library:1.0.5'
implementation 'com.github.nkzawa:socket.io-client:0.3.0'
implementation 'com.loopj.android:android-async-http:1.4.9'
implementation 'cn.jzvd:jiaozivideoplayer:6.2.12'
implementation 'me.zhanghai.android.materialprogressbar:library:1.1.7'
implementation 'com.facebook.shimmer:shimmer:0.1.0#aar'
implementation 'com.applandeo:material-calendar-view:1.0.1'
implementation 'com.getbase:floatingactionbutton:1.10.1'
implementation 'com.evrencoskun.library:tableview:0.8.8'
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0-alpha'
implementation 'com.github.yalantis:ucrop:2.2.2-native'
implementation 'com.github.bumptech.glide:glide:4.9.0'
implementation 'com.github.chinalwb:are:0.1.7'
implementation 'com.kyanogen.signatureview:signature-view:1.0'
implementation 'com.google.guava:guava:28.0-jre'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'org.jetbrains:annotations-java5:15.0'
}
apply plugin: 'com.google.gms.google-services'
There are few reasons why it may be occured:
Previous version code is less than the current. Try to increase it or/and check also version name in app info screen on device
The signatures don't match each other. Be careful with their data
Turn off google play protect. May be the problem is somewhere in google services
I am trying to run my application to process payments but I have run into this error. There are no errors within my code but I am unsure as to how to fix the issue. My code is below:
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
defaultConfig {
applicationId "com.firebase.alokraj.firebaselogin"
minSdkVersion 23
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE-FIREBASE.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/DEPENDENCIES'
// prevent error message "More than one file was found with OS independent path 'META-INF/DEPENDENCIES'"
}
}
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:appcompat-v7:28.0.0-alpha1'
implementation 'com.android.support:design:28.0.0-alpha1'
testImplementation 'junit:junit:4.12'
implementation 'com.android.support.constraint:constraint-layout:1.0.0-beta5'
//Firebase
implementation 'com.google.firebase:firebase-core:10.0.1'
implementation 'com.google.firebase:firebase-auth:10.0.1'
implementation 'com.google.firebase:firebase-database:10.0.1'
// HTTP library (for Mailgun)
implementation 'com.android.volley:volley:1.1.1'
implementation 'com.paypal.sdk:paypal-android-sdk:2.15.3'
}
// Firebase
apply plugin: 'com.google.gms.google-services'
Can anyone help?
This is my build.gradle(Module:App) code
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
defaultConfig {
applicationId "com.mashitha.smartwaterbottle"
minSdkVersion 19
targetSdkVersion 26
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'
}
}
}
repositories {
maven { url 'https://jitpack.io' }
jcenter()
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:design:26.1.0'
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.github.bumptech.glide:glide:4.3.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.3.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
implementation 'com.google.firebase:firebase-database:11.4.0'
implementation 'com.google.firebase:firebase-storage:11.4.0'
implementation 'com.google.firebase:firebase-auth:11.4.0'
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'
implementation 'com.android.support:support-annotations:27.1.1'
implementation 'com.google.android.gms:play-services-auth:15.0.1'
implementation 'pub.devrel:easypermissions:0.3.0'
implementation('com.google.api-client:google-api-client-android:1.23.0') {
exclude group: 'org.apache.httpcomponents'
}
implementation('com.google.apis:google-api-services-calendar:v3-rev328-1.23.0') {
exclude group: 'org.apache.httpcomponents'
}
implementation 'joda-time:joda-time:2.9.4'
implementation 'com.jjoe64:graphview:4.2.1'
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'
compile 'me.itangqi.waveloadingview:library:0.3.5'
//Google play services
compile 'com.google.android.gms:play-services:11.4.0'
}
apply plugin: 'com.google.gms.google-services'
I get this Error, when i sync the project.
Error:Execution failed for task ':app:processDebugGoogleServices'.
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 11.4.0.
Please Give an answer for fixed this error.
Thank you
you applied two different versions of google play services
compile 'com.google.android.gms:play-services:11.4.0'
and
implementation 'com.google.android.gms:play-services-auth:15.0.1'
please unify the API version to be latest version 15.0.1
also it is recommended to use latest version of Firebase Cloud Services APIs
you could check it here
please tell me what is the problem I saw same question in stack overflow but didn't solved my problem ...the error appears when I implement implementation project(':videocompressor') to my gradle please guys I don't know much about this please help me
this is my app.gradle
android {
buildToolsVersion '27.0.3'
compileSdkVersion 27
defaultConfig {
applicationId "com.example.alpha.lapid"
minSdkVersion 21
targetSdkVersion 27
versionCode 1
versionName "1.0"
renderscriptTargetApi 27
renderscriptSupportModeEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
lintOptions {
disable 'RestrictedApi'
}
dataBinding {
enabled = true
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
}
productFlavors {
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'com.google.firebase:firebase-auth:15.1.0'
implementation 'com.google.firebase:firebase-storage:15.0.2'
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:support-v4:27.1.1'
implementation 'com.google.firebase:firebase-messaging:15.0.2'
implementation 'com.android.support:design:27.1.1'
implementation 'com.github.ittianyu:BottomNavigationViewEx:1.2.4'
implementation 'com.airbnb.android:lottie:2.5.4'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
implementation 'com.google.firebase:firebase-core:15.0.2'
implementation 'com.google.android.gms:play-services-auth:15.0.1'
implementation 'br.com.simplepass:loading-button-android:1.7.2'
implementation 'com.google.firebase:firebase-database:15.0.1'
implementation 'com.android.support:cardview-v7:27.1.1'
implementation 'com.yanzhenjie:mediascanner:1.0.3'
implementation 'com.github.bumptech.glide:glide:4.7.1'
implementation 'com.github.jd-alexander:LikeButton:0.2.3'
implementation 'com.google.firebase:firebase-perf:15.2.0'
implementation 'com.allattentionhere:autoplayvideos:0.2.0'
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.2'
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.firebaseui:firebase-ui-database:3.3.1'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.android.support:support-compat:27.1.1'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.+'
implementation 'me.shaohui:bottomdialog:1.1.9'
implementation 'com.googlecode.mp4parser:isoparser:1.1.21'
implementation 'com.allattentionhere:autoplayvideos:0.2.0'
implementation 'im.ene.toro3:toro:3.4.2'
implementation 'im.ene.toro3:toro-ext-exoplayer:3.4.2'
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
implementation 'com.google.firebase:firebase-invites:15.0.0'
implementation project(':videocompressor')
}
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.firebase-perf'
apply plugin: 'io.fabric'
this is my library gradle
apply plugin: 'com.android.library'
android {
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig {
minSdkVersion 21
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
}
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 files('libs/isoparser-1.0.6.jar')
implementation files('libs/aspectjrt-1.7.3.jar')
}
Program type already present: org.apache.http.ContentTooLongException
Message{kind=ERROR, text=Program type already present: org.apache.http.ContentTooLongException, sources=[Unknown source file], tool name=Optional.of(D8)
}
build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.sample.io.sos"
minSdkVersion 15
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
buildToolsVersion '28.0.0'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
dependencies {
compileOnly 'javax.annotation:jsr250-api:1.0'
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'
implementation 'com.android.support:design:28.0.0-alpha3'
implementation 'com.judemanutd:autostarter:1.0.0'
implementation 'com.android.support:multidex:1.0.3'
implementation "com.squareup.retrofit2:retrofit:2.4.0"
implementation "com.squareup.retrofit2:converter-gson:2.4.0"
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
implementation 'io.reactivex.rxjava2:rxjava:2.1.7'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
implementation 'com.squareup.retrofit:retrofit:1.6.1'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'org.parceler:parceler-api:1.1.10'
annotationProcessor 'org.parceler:parceler:1.1.10'
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
implementation 'io.swagger:swagger-annotations:1.5.15'
implementation 'io.gsonfire:gson-fire:1.8.0'
implementation 'org.threeten:threetenbp:1.3.5'
implementation "com.google.code.gson:gson:2.8.2"
implementation "org.apache.httpcomponents:httpcore:4.4.4"
implementation "org.apache.httpcomponents:httpmime:4.5.2"
implementation "org.apache.httpcomponents:httpclient-android:4.3.3"
implementation "com.android.volley:volley:1.1.0"
testImplementation "org.robolectric:robolectric:3.0"
testImplementation "net.jodah:concurrentunit:0.4.2"
testImplementation "junit:junit:4.12"
}
Can not solve this problem. Here i'm using swagger generated android java code in my project. That relevant implementations are added.
Swagger providing sdk for older version (compileSdkVersion 25). Still they didn't updated that sdk. But i want to developing for latest version 28. Also there are more version incompatible issues on that sdk.
And i reported that problem in github.
Swagger issues
I am working for SDK version 22 and my comppiledsdk version is 27 .It gives me same error.Any pointers to share?
Gradle-
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "com.example.hp.mayukhapp"
minSdkVersion 21
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
}
}
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support.constraint:constraint-layout:1.1.0'
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
compile 'com.android.support:cardview-v7:26.1.0'
compile 'de.hdodenhof:circleimageview:2.2.0'
compile 'com.sendgrid:sendgrid-java:4.0.1'
})
implementation 'com.android.support:appcompat-v7:27.1.0'
compile group: 'com.pkmmte.view', name: 'circularimageview', version: '1.0'
compile 'com.mostafagazar:customshapeimageview:1.0.4'
compile 'com.makeramen:roundedimageview:2.3.0'
implementation 'com.github.pedroSG94.vlc-example-streamplayer:pedrovlc:2.5.14'
implementation 'com.rvirin.onvif:onvifcamera:1.1.8'
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
// compile 'org.apache.httpcomponents:httpclient-android:4.3.5'
// compile 'com.android.support:appcompat-v7:26.0.0-alpha1'
// compile group: 'org.apache.httpcomponents' , name: 'httpclient-android' , version: '4.3.5.1'
compile 'com.android.support:design:27.1.0'
compile 'com.google.android.gms:play-services:11.0.2'
testCompile 'junit:junit:4.12'
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
compile('org.apache.httpcomponents:httpmime:4.3.6') {
exclude module: 'httpclient'
}
compile 'org.apache.httpcomponents:httpclient-android:4.3.5'
}
repositories {
mavenCentral()
}