Add Google Play Services to Android Studio using Gradle

后端 未结 8 1425
萌比男神i
萌比男神i 2020-12-24 03:23

Im working on simple map app, I added google-play-services.jar and its reference to gradle

dependencies {
    compile files(\'libs/android-support-v4.jar\',          


        
8条回答
  •  滥情空心
    2020-12-24 03:32

    Go to Android SDK Manager, go to Extras, select Google Play Services and Google Repository and then click on 'Install Packages...' button.

    Click on 'build.gradle' file, in the code window in editor, then click on 'try again' link button...

    Wait until gradle build finish.

提交回复
热议问题