I implemented new module for an application, using a 3rd party library. In this library, they used com.google.android.gms:play-services-base:9.0.2
, and in the original application, they used com.google.android.gms:play-services:4.3.23
. So there was a conflict and I can't sync gradle at all. Is there anyway to fix this conflict ? update google play service of the original project is out of question, because the amount of work would be tremendous.
please reefer this ref: https://developers.google.com/android/guides/setup
and add google play service in your gradle
From version 6.5, you can instead selectively compile Google Play service APIs into your app.
try to do something like this
compile ('com.android.support:recyclerview-v7:22.2.0') {
exclude module: 'support-v4'
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.