i have been using google play in past, on new project run strange problem. have downloaded gp sdk manager , have added through project structure / dependencies, added automatically line in build.gradle dependencies. when rebuild project, fails:
error:a problem occurred configuring project ':app'. > not resolve dependencies configuration ':app:_debugcompile'. > not find version matches com.google.android.gms:play-services:+. searched in following locations: https://jcenter.bintray.com/com/google/android/gms/play-services/maven-metadata.xml https://jcenter.bintray.com/com/google/android/gms/play-services/ https://repo1.maven.org/maven2/com/google/android/gms/play-services/maven-metadata.xml https://repo1.maven.org/maven2/com/google/android/gms/play-services/ http://jzaccone.github.io/slidingmenu-aar/com/google/android/gms/play-services/maven-metadata.xml http://jzaccone.github.io/slidingmenu-aar/com/google/android/gms/play-services/ https://oss.sonatype.org/content/repositories/snapshots/com/google/android/gms/play-services/maven-metadata.xml https://oss.sonatype.org/content/repositories/snapshots/com/google/android/gms/play-services/ file:/users/thatsme/android-sdks/extras/android/m2repository/com/google/android/gms/play-services/maven-metadata.xml file:/users/thatsme/android-sdks/extras/android/m2repository/com/google/android/gms/play-services/ file:/users/thatsme/android-sdks/extras/google/m2repository/com/google/android/gms/play-services/maven-metadata.xml file:/users/thatsme/android-sdks/extras/google/m2repository/com/google/android/gms/play-services/ required by: ga:app:unspecified
add manifest
<application> ... <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> </application>
Comments
Post a Comment