Failed to resolve: com.google.android.gms:play-services in IntelliJ Idea with gradle

前端 未结 13 1968
一向
一向 2020-12-02 11:09

I\'m trying to add google play services to my libGDX project in IntelliJ Idea. I\'ve followed the setup guide here: https://developers.google.com/android/guides/setup

<
13条回答
  •  無奈伤痛
    2020-12-02 11:29

    At the latest Google Play Services 15.0.0, it occurs this error when you include entire play service like this

    implementation 'com.google.android.gms:play‐services:15.0.0'
    

    Instead, you must specific the detail service like Google Drive

    com.google.android.gms:play-services-drive:15.0.0
    

提交回复
热议问题