I try to implement google play services for the google cloud messaging. I tried to do this with developers.google, but i can not go futher. I get stuck by Set Up Google Play Services. I tried to compile com.google.android.gms:play-services:8.4.0 but I get this error message:
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 8.3.0.
So i tried to compbile 8.3.0 and then i get a other error message:
Execution failed for task ':app:transformClassesWithDexForDebug'. com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_21\bin\java.exe'' finished with non-zero exit value 2
Can somebody help me out?