I'm trying this Google app invites thing but i cant get it to work.
I followed the steps just like https://developers.google.com/app-invites/android/guides/app suggested but i soon encountered the problem of not finding 'com.google.gms:google-services:1.0' and so i followed Error: Could not find com.google.gms:google-services:1.0. when adding google service plugin in build.gradle in android studio and gradle continued to build but then i encounted this error:
i followed this answer: Android Studio: failed to complete gradle execution, cause is empty and even tried with the option -Xmx512m but the problem persists... Anyone with similar issue trying to build put app invites in their app and not be able to even build the project?
Edit: I didn't manage to solve the issue, but i did manage to get app invites to work. I didn't need to do these steps from the App Invites google guide:
Add the dependency to your project's top-level build.gradle: classpath 'com.google.gms:google-services:1.3.0-beta1' Add the plugin to your app-level build.gradle: apply plugin: 'com.google.gms.google-services'
And like so, gradle wouldn't fail to complete because i only needed to add the google play services dependency to the app level build.gradle file.