Making Google Play Services 4.0.30 work with Android Studio 0.4.2 & Gradle 0.7

前端 未结 2 1357
不知归路
不知归路 2021-01-07 06:25

There doesn\'t seem to be a shortage of solutions available for getting Google Play Services to work using Android Studio. I’ve tried most of them. After much trial and muc

相关标签:
2条回答
  • 2021-01-07 07:01

    We've been seeing problems with newly added libraries not getting properly picked up; I think this is bug https://code.google.com/p/android/issues/detail?id=64508 which will be fixed in 0.4.3. In the meantime,

    • Exit Android Studio
    • Back up your project
    • Delete all the .iml files and the .idea folder
    • Relaunch Android Studio and reimport your project

    This is the same answer as Android Studio suddenly cannot resolve symbols

    0 讨论(0)
  • 2021-01-07 07:12

    I don't see GooglePlayServices version specified in your manifest via meta-data attribute:

    <meta-data android:name="com.google.android.gms.version"
           android:value="@integer/google_play_services_version" />
    

    Please see set-up guidelines

    0 讨论(0)
提交回复
热议问题