我对新的地图样式功能感兴趣,这个功能在9.6 Google Play Services版本中添加,但我也在使用Awareness API.在我的build.gradle我
compile 'com.google.android.gms:play-services-maps:9.6.1'
compile 'com.google.android.gms:play-services-contextmanager:9.6.1'
compile 'com.google.android.gms:play-services-location:9.6.1'
Run Code Online (Sandbox Code Playgroud)
和其他一些游戏服务/ firebase模块.以前v9.4工作,但现在我得到了Failed to resolve: com.google.android.gms:play-services-contextmanager:9.6.1
BTW,所有其他9.6版本的lib解析正确.我也尝试使用9.6.0和9. +,没有任何效果.
请不要建议添加, compile 'com.google.android.gms:play-services:9.6.1' 因为它会大大增加编译时间.
UPD:刚刚发现,活动识别包含在位置包中,所以我不需要意识.但这不是答案