I am trying to use Fused Location Manager in Android. Android said to change gradle file in the project. I changed the file, but it shows the error below. Please help me
Asked
Active
Viewed 45 times
-3
-
2Please don't post just screenshots of error messages. Please post them as text. – Mike M. Nov 23 '16 at 02:52
1 Answers
0
In dependencies use, compile 'com.google.android.gms:play-services:9.0.0'
or
apply plugin: 'com.google.gms.google-services' at the bottom of the dependencies.
Then try to clean and rerun.

Ashwin Elangovan
- 122
- 5
-
I tried both, but error says Error:Execution failed for task ':app:processDebugGoogleServices'. > Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 9.0.0. – capstone Nov 23 '16 at 04:52
-
I think gradle crashes because I am also using GoogleLoginAPI, is there any ways to use both function? fused location and google login api – capstone Nov 23 '16 at 06:34