微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

在项目“app”中,已解决的 Google Play 服务库依赖项依赖于另一个确切版本例如“[1.0.0 -rc05]”

如何解决在项目“app”中,已解决的 Google Play 服务库依赖项依赖于另一个确切版本例如“[1.0.0 -rc05]”

我必须将第三方库集成到我的项目中,并且即将出现依赖问题。以下是执行 --info assemble 时在终端上打印的日志的屏幕截图

terminal log

build log

下面是来自应用级 gradle 文件的依赖块

dependencies {
implementation filetree(include: ['*.jar'],dir: 'libs')
implementation 'com.google.firebase:firebase-invites:17.0.0'
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0',{
    exclude group: 'com.android.support',module: 'support-annotations'
})
implementation dep.rxAndroid
implementation dep.rxJava
implementation dep.timber
implementation dep.butterKnife
annotationProcessor dep.butterKnifeCompiler
implementation(dep.fresco) {
    exclude group: 'com.android.support'
}
implementation dep.fresco_okhttp
implementation dep.rxrelay
implementation dep.archRuntime
implementation dep.archExt
implementation dep.okhttp
//implementation dep.playServicesWallet
annotationProcessor dep.arcCompiler
implementation project(':buy3-pay-support')
implementation 'com.shopify.mobilebuysdk:buy3:3.2.3' // latest version
//    implementation 'com.shopify.mobilebuysdk:buy3:3.2.1' // old version
xApolloImplementation dep.apolloRuntime
xApolloImplementation dep.okhttpLogging
xApolloImplementation dep.apolloHttpCache

implementation files('libs/android-query-full.0.26.2-beta.jar')

implementation project(':materialCalendarView')
implementation project(path: ':materialTimeView')
implementation project(path: ':ims')
implementation project(':openCamera')
implementation project(':cropAdvisorySdk')

implementation 'androidx.legacy:legacy-support-v4:1.0.0'

implementation 'androidx.appcompat:appcompat:1.3.1' //    implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'androidx.mediarouter:mediarouter:1.1.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
//    implementation 'com.google.android.material:material:1.1.0'
//    implementation 'com.google.android.material:material:1.0.0'
//    implementation 'com.google.android.material:material:1.1.0-alpha09'
implementation 'com.google.android.material:material:1.4.0' //implementation 'com.google.android.material:material:1.2.0-alpha05'
implementation 'com.squareup.retrofit:retrofit:1.9.0'
implementation 'io.jsonwebtoken:jjwt:0.6.0'
implementation 'com.google.firebase:firebase-messaging:22.0.0'/* {
    force = true  // this version should be included
    exclude group: 'com.google.firebase',module: 'firebase-iid'
}*/
//    implementation "com.google.firebase:firebase-iid:17.0.2"
implementation 'com.google.firebase:firebase-core:19.0.0'
implementation 'com.squareup.okhttp:okhttp:2.7.5'
// implementation 'com.github.bumptech.glide:glide:3.5.2'
implementation 'com.github.bumptech.glide:glide:4.9.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.google.code.gson:gson:2.8.6'
//    implementation 'com.jakewharton:butterknife:8.5.1'
implementation 'com.jakewharton:butterknife:10.1.0'
implementation 'com.google.maps.android:android-maps-utils:0.5+'

testImplementation 'junit:junit:4.13.2'
//    annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0'
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
implementation 'androidx.multidex:multidex:2.0.1'
/*implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.10'
implementation 'com.amazonaws:aws-android-sdk-s3:2.2.22'*/
androidTestImplementation 'androidx.test:runner:1.4.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation project(':soilHealthCard')
implementation 'me.saket:better-link-movement-method:2.2.0'

//SMS Retriever
implementation 'com.google.android.gms:play-services-location:18.0.0'
implementation 'com.google.android.gms:play-services-base:17.0.0'
implementation 'com.google.android.gms:play-services-identity:17.0.0'
implementation 'com.google.android.gms:play-services-auth:19.2.0'
implementation "com.google.android.gms:play-services-auth-api-phone:17.5.1"
implementation 'com.google.android.libraries.places:places:2.4.0'
implementation 'com.google.android.gms:play-services-tagmanager-v4-impl:17.0.0'
implementation 'com.google.android.gms:play-services-analytics:17.0.0'
implementation "com.android.installreferrer:installreferrer:2.2"



/*//------------------------ Camerax -------------------
def camerax_version = "1.1.0-alpha07" //updated
implementation "androidx.camera:camera-camera2:$camerax_version"
implementation "androidx.camera:camera-lifecycle:$camerax_version"
implementation "androidx.camera:camera-view:1.0.0-alpha27"*/

//    implementation 'android.support.28.0.0'
//    implementation 'com.android.support:support-v4:28.0.0'
/*implementation 'com.android.support:appcompat-v7:28.0.0'3:logging-interceptor:4.4.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:design:28.0.0'*/
//    implementation 'com.android.support:support-core-utils:28.0.0'


//    implementation 'com.gitlab.acviss-android:acvission:1.25'  // production
implementation 'com.gitlab.acviss-android:acvission:f29fa4c6ee' // developer
//    implementation 'com.gitlab.uniqolabel.android:framework:3.0.71' //genuinity check exist version
//    implementation 'com.gitlab.uniqolabel.android:framework:3.0.72' //genuinity check new version

/*implementation ("com.squareup.okhttp3:okhttp:3.12.12"){
    force = true
}*/

implementation 'com.android.installreferrer:installreferrer:2.2'

implementation 'uk.co.chrisjenx:calligraphy:2.3.0'
//For custom fonts in alert dialog added by bhaskar 27-01-2020
//    implementation 'com.squareup.okhttp3:logging-interceptor:4.4.0'   // Uniqo72
implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1'

// Import the BoM for the Firebase platform
//    implementation platform('com.google.firebase:firebase-bom:26.7.0')

// Declare the dependencies for the Dynamic Links and Analytics libraries
// When using the BoM,you don't specify versions in Firebase library dependencies
implementation 'com.google.firebase:firebase-dynamic-links'
implementation 'com.google.firebase:firebase-analytics'

implementation 'com.github.broakenmedia:MultiContactPicker:1.8.5'

}
task downloadApolloSchema(type: DefaultTask,group: "GraphQL",description: "Download GraphQL 
store front API schema") {
doLast {
    println("Downloading GraphQL schema...")
    def schemaFile = new File(project.projectDir.absolutePath + '/src/xApollo/graphql/com/pioneer/india/directsales/bighaat/domain/schema.json')
    if (schemaFile.exists()) {
        schemaFile.delete()
    }
    new URL('https://app.shopify.com/services/graphql/introspection/storefront?api_client_api_key=94ff7ad9fffca33ea9dc3524fbf586c5').withInputStream { i ->
        schemaFile.withOutputStream {
            it << i
        }
    }
    println("GraphQL schema has been downloaded!")
}
}

 apply plugin: 'com.google.gms.google-services'

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其他元素将获得点击?
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。)
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver发生异常。为什么?
这是用Java进行XML解析的最佳库。
Java的PriorityQueue的内置迭代器不会以任何特定顺序遍历数据结构。为什么?
如何在Java中聆听按键时移动图像。
Java“Program to an interface”。这是什么意思?