gradle-dependencies

Android gradle Failed to resolve: play-services-basement

谁说胖子不能爱 提交于 2019-11-28 07:08:43
suddenly gradle is unable to build the same code that was working moments ago ! my project depends on google play service dependencies it says : Could not find play-services-basement.aar (com.google.android.gms:play-services-basement:15.0.1). Searched in the following locations: https://jcenter.bintray.com/com/google/android/gms/play-services-basement/15.0.1/play-services-basement-15.0.1.aar I think the aar file was removed from google by mistake Does anyone have any idea, what is going on? Add google() repository in your build.gradle. And check that google() is before jcenter(). The problem

Android: force gradle to include only one version of a library

主宰稳场 提交于 2019-11-27 03:12:01
问题 I use 'com.android.support:support-v4:23.3.0' in my build.gradle but when explore external libraries I see two version of support-v4 library (23.3.0 & 24.0.0). How can I find which dependency use support-v4:24.0.0 library? How can I force gradle to only add version 23.3.0? this is my dependency list in build.gradle: dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:23.3.0' compile 'com.android.support:support-v4:23.3.0' compile 'com

Android gradle Failed to resolve: play-services-basement

强颜欢笑 提交于 2019-11-27 01:44:21
问题 suddenly gradle is unable to build the same code that was working moments ago ! my project depends on google play service dependencies it says : Could not find play-services-basement.aar (com.google.android.gms:play-services-basement:15.0.1). Searched in the following locations: https://jcenter.bintray.com/com/google/android/gms/play-services-basement/15.0.1/play-services-basement-15.0.1.aar I think the aar file was removed from google by mistake Does anyone have any idea, what is going on?